Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 175.8 MB / 478.4 MB, free: 3.375 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.98 kB / 0.6652 GB, free: 11.2 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1938, allocations: 94.54 MB / 0.7575 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5567/0.7506, allocations: 171.6 MB / 0.9251 GB, free: 7.566 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00695/0.7575, allocations: 4.303 MB / 0.9293 GB, free: 4.086 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007276/0.7582, allocations: 20.09 kB / 0.9293 GB, free: 4.078 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.7593, allocations: 368.2 kB / 0.9296 GB, free: 3.789 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.7619, allocations: 1.035 MB / 0.9306 GB, free: 2.992 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.764, allocations: 0.8265 MB / 0.9315 GB, free: 2.387 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.7657, allocations: 1.291 MB / 0.9327 GB, free: 1.648 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006047/0.7663, allocations: 402.2 kB / 0.9331 GB, free: 1.387 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.7676, allocations: 0.7338 MB / 0.9338 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.7687, allocations: 472.9 kB / 0.9343 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.193e-05/0.7688, allocations: 52.97 kB / 0.9343 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.7704, allocations: 0.9433 MB / 0.9352 GB, free: 152 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.7706, allocations: 216.2 kB / 0.9354 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.771, allocations: 330.6 kB / 0.9358 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.7727, allocations: 1.139 MB / 0.9369 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7727, allocations: 0 / 0.9369 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7727, allocations: 4 kB / 0.9369 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.7727, allocations: 0 / 0.9369 GB, free: 15.07 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001741/0.7744, allocations: 0.967 MB / 0.9378 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7745, allocations: 9.531 kB / 0.9378 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.7746, allocations: 86.3 kB / 0.9379 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.7762, allocations: 262.6 kB / 0.9382 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/0.7771, allocations: 0.4978 MB / 0.9386 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.7772, allocations: 34.88 kB / 0.9387 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.7773, allocations: 37.22 kB / 0.9387 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.7785, allocations: 0.6191 MB / 0.9393 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.7785, allocations: 0 / 0.9393 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.7785, allocations: 21.38 kB / 0.9393 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.7786, allocations: 22.89 kB / 0.9394 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.7799, allocations: 0.5488 MB / 0.9399 GB, free: 12.96 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.004041/0.7839, allocations: 2.273 MB / 0.9421 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/0.7848, allocations: 279.1 kB / 0.9424 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.7853, allocations: 160.4 kB / 0.9425 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.7853, allocations: 3.984 kB / 0.9425 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.7853, allocations: 37.47 kB / 0.9426 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.7853, allocations: 0 / 0.9426 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.004914/0.7902, allocations: 1.101 MB / 0.9437 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.7903, allocations: 83.14 kB / 0.9437 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.791, allocations: 0.5528 MB / 0.9443 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/0.791, allocations: 25.7 kB / 0.9443 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.7913, allocations: 305 kB / 0.9446 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.7913, allocations: 43.34 kB / 0.9446 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.7914, allocations: 68.11 kB / 0.9447 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.7916, allocations: 356.8 kB / 0.945 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.7922, allocations: 183.3 kB / 0.9452 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.7927, allocations: 274.4 kB / 0.9455 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.7938, allocations: 399.9 kB / 0.9459 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.7938, allocations: 2.281 kB / 0.9459 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002526/0.7963, allocations: 0.7285 MB / 0.9466 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7963, allocations: 7.5 kB / 0.9466 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.7963, allocations: 2.469 kB / 0.9466 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.797, allocations: 186.1 kB / 0.9468 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.7973, allocations: 68.22 kB / 0.9468 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003836/0.8011, allocations: 2.236 MB / 0.949 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006733/0.8018, allocations: 83.61 kB / 0.9491 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.8019, allocations: 22.02 kB / 0.9491 GB, free: 6.012 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0003027/0.8022, allocations: 181.8 kB / 0.9493 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.8023, allocations: 60.73 kB / 0.9493 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.8025, allocations: 52.03 kB / 0.9494 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.8025, allocations: 8 kB / 0.9494 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.8025, allocations: 0 / 0.9494 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8025, allocations: 0 / 0.9494 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.8056, allocations: 1.121 MB / 0.9505 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.8056, allocations: 4 kB / 0.9505 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.8059, allocations: 39.89 kB / 0.9505 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.8064, allocations: 181.2 kB / 0.9507 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.8064, allocations: 7.938 kB / 0.9507 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/0.8101, allocations: 2.183 MB / 0.9528 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8101, allocations: 0 / 0.9528 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.8125, allocations: 0.7043 MB / 0.9535 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.8129, allocations: 172.8 kB / 0.9537 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.813, allocations: 11.88 kB / 0.9537 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/0.8137, allocations: 52.69 kB / 0.9538 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.8137, allocations: 11.98 kB / 0.9538 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.8138, allocations: 11.98 kB / 0.9538 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005452/0.8143, allocations: 390.8 kB / 0.9542 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8143, allocations: 0 / 0.9542 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007122/0.815, allocations: 187.7 kB / 0.9543 GB, free: 404 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.00309/0.8181, allocations: 1.32 MB / 0.9556 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.8197, allocations: 0.5152 MB / 0.9561 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.8197, allocations: 0 / 0.9561 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/0.8203, allocations: 295 kB / 0.9564 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.8218, allocations: 309.4 kB / 0.9567 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.8335, allocations: 5.085 MB / 0.9617 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.834, allocations: 0.8621 MB / 0.9625 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004451/0.8345, allocations: 104.5 kB / 0.9626 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.8347, allocations: 163.4 kB / 0.9628 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of SimCode: time 1.012e-06/0.8347, allocations: 0 / 0.9628 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05095/0.8857, allocations: 16.96 MB / 0.9793 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.25, allocations: 15.23 kB / 0.9793 GB, free: 6.906 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.072657315060496] Failed to read output from testmodel.py, exit status != 0: 13.349909723270684 13.371813228 12.594999764 Calling exit ...