Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 110.4 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.825/0.825, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 61.38 kB / 0.6193 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1669, allocations: 85.91 MB / 0.7032 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6069/0.7738, allocations: 194.5 MB / 0.8932 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.7878, allocations: 5.753 MB / 0.8988 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.79, allocations: 55.56 kB / 0.8989 GB, free: 14.24 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.7929, allocations: 0.6059 MB / 0.8995 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009793/0.8027, allocations: 1.937 MB / 0.9013 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005281/0.808, allocations: 1.235 MB / 0.9025 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006643/0.8146, allocations: 3.026 MB / 0.9055 GB, free: 7.426 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.8165, allocations: 0.7474 MB / 0.9062 GB, free: 6.664 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.8193, allocations: 1.129 MB / 0.9073 GB, free: 5.531 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/0.8227, allocations: 0.9954 MB / 0.9083 GB, free: 4.543 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005182/0.8232, allocations: 108 kB / 0.9084 GB, free: 4.438 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.8275, allocations: 1.547 MB / 0.9099 GB, free: 2.887 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008643/0.8284, allocations: 470.6 kB / 0.9104 GB, free: 2.426 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.8299, allocations: 0.6573 MB / 0.911 GB, free: 1.766 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004367/0.8343, allocations: 2.149 MB / 0.9131 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8343, allocations: 4 kB / 0.9131 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8343, allocations: 0 / 0.9131 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.435e-05/0.8344, allocations: 3.984 kB / 0.9131 GB, free: 15.6 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003409/0.8378, allocations: 1.469 MB / 0.9146 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.8378, allocations: 12.03 kB / 0.9146 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.063e-05/0.8379, allocations: 22 kB / 0.9146 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002587/0.8381, allocations: 135.2 kB / 0.9147 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.8403, allocations: 323 kB / 0.915 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.8418, allocations: 0.7916 MB / 0.9158 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.8419, allocations: 65.94 kB / 0.9159 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.842, allocations: 87.94 kB / 0.9159 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.8438, allocations: 0.9053 MB / 0.9168 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.8438, allocations: 0 / 0.9168 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.8439, allocations: 36 kB / 0.9169 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.844, allocations: 34 kB / 0.9169 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.8455, allocations: 0.8237 MB / 0.9177 GB, free: 10.84 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005992/0.8514, allocations: 3.468 MB / 0.9211 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007961/0.8522, allocations: 472.5 kB / 0.9215 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/0.8527, allocations: 278 kB / 0.9218 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.8529, allocations: 28.41 kB / 0.9218 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.8529, allocations: 39 kB / 0.9219 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.815e-06/0.8529, allocations: 0 / 0.9219 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.004121/0.8571, allocations: 1.706 MB / 0.9235 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.8571, allocations: 55.84 kB / 0.9236 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.8582, allocations: 0.8097 MB / 0.9244 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.8582, allocations: 45.64 kB / 0.9244 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000413/0.8586, allocations: 480.3 kB / 0.9249 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.8588, allocations: 182.4 kB / 0.9251 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.859, allocations: 114.3 kB / 0.9252 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8592, allocations: 326 kB / 0.9255 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.8596, allocations: 245.2 kB / 0.9257 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.8602, allocations: 366.9 kB / 0.9261 GB, free: 1.918 MB / 0.6856 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.864, allocations: 1.443 MB / 0.9275 GB, free: 448 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.864, allocations: 0 / 0.9275 GB, free: 448 kB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001663/0.8657, allocations: 0.7914 MB / 0.9282 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.8657, allocations: 4 kB / 0.9282 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.8657, allocations: 4 kB / 0.9282 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/0.8661, allocations: 93.91 kB / 0.9283 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/0.8669, allocations: 147.8 kB / 0.9285 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/0.8707, allocations: 3.099 MB / 0.9315 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.8717, allocations: 27.98 kB / 0.9315 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.8718, allocations: 25.55 kB / 0.9316 GB, free: 12 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007029/0.8725, allocations: 297.7 kB / 0.9318 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.8727, allocations: 103.4 kB / 0.9319 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.8729, allocations: 96.73 kB / 0.932 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.8729, allocations: 7.938 kB / 0.932 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.873, allocations: 0 / 0.932 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/0.8742, allocations: 0.8465 MB / 0.9329 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.8776, allocations: 1.762 MB / 0.9346 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.8776, allocations: 0 / 0.9346 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.8782, allocations: 144.1 kB / 0.9347 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.8785, allocations: 64.81 kB / 0.9348 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.8786, allocations: 11.98 kB / 0.9348 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.8807, allocations: 1.682 MB / 0.9364 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.8807, allocations: 7.938 kB / 0.9364 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.8827, allocations: 1.101 MB / 0.9375 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.8832, allocations: 167.3 kB / 0.9377 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.8833, allocations: 15.98 kB / 0.9377 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/0.8839, allocations: 35.8 kB / 0.9377 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.8841, allocations: 51.8 kB / 0.9378 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.8841, allocations: 27.98 kB / 0.9378 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008974/0.885, allocations: 0.5615 MB / 0.9384 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.885, allocations: 0 / 0.9384 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001072/0.8861, allocations: 284 kB / 0.9386 GB, free: 4.398 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002402/0.8885, allocations: 1.699 MB / 0.9403 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.89, allocations: 0.7838 MB / 0.941 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.89, allocations: 4 kB / 0.9411 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006648/0.8907, allocations: 400.1 kB / 0.9414 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.8935, allocations: 0.6127 MB / 0.942 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.9037, allocations: 6.995 MB / 0.9489 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/0.9045, allocations: 1.087 MB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007967/0.9053, allocations: 207.7 kB / 0.9501 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.9058, allocations: 347.3 kB / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of SimCode: time 1.172e-06/0.9058, allocations: 0 / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07113/0.9769, allocations: 28.77 MB / 0.9786 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.98, allocations: 3.938 kB / 0.9786 GB, free: 11.45 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.649342260090634] Failed to read output from testmodel.py, exit status != 0: 15.161020753905177 15.177889267 14.340142992 Calling exit ...