Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001314, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2224/0.2224, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3154, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.04299/0.3584, allocations: 36.49 MB / 0.5662 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02154/0.38, allocations: 16.77 MB / 0.5826 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007651/0.3808, allocations: 19.88 kB / 0.5826 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.3822, allocations: 425.4 kB / 0.583 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.3937, allocations: 4.034 MB / 0.587 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009319/0.403, allocations: 3.148 MB / 0.5901 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002723/0.4058, allocations: 1.798 MB / 0.5918 GB, free: 2.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008976/0.4067, allocations: 0.5353 MB / 0.5923 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.4082, allocations: 0.7628 MB / 0.5931 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009122/0.4091, allocations: 0.5721 MB / 0.5936 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.4093, allocations: 72 kB / 0.5937 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.4241, allocations: 7.469 MB / 0.601 GB, free: 9.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004605/0.4246, allocations: 259.2 kB / 0.6012 GB, free: 9.184 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006407/0.4253, allocations: 414.2 kB / 0.6016 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.4379, allocations: 5.07 MB / 0.6066 GB, free: 3.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4379, allocations: 0 / 0.6066 GB, free: 3.695 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4379, allocations: 0 / 0.6066 GB, free: 3.695 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.438, allocations: 0 / 0.6066 GB, free: 3.695 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004726/0.4427, allocations: 1.652 MB / 0.6082 GB, free: 1.988 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4427, allocations: 12.03 kB / 0.6082 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.4429, allocations: 114.7 kB / 0.6083 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/0.446, allocations: 364.1 kB / 0.6087 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.447, allocations: 0.5487 MB / 0.6092 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.4472, allocations: 117.3 kB / 0.6093 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4473, allocations: 55.94 kB / 0.6094 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.4501, allocations: 1.134 MB / 0.6105 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.4501, allocations: 4 kB / 0.6105 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.4502, allocations: 24 kB / 0.6105 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/0.4503, allocations: 37.3 kB / 0.6105 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.4532, allocations: 1.051 MB / 0.6116 GB, free: 14.42 MB / 478.1 MB 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.007299/0.4605, allocations: 5.009 MB / 0.6165 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.4634, allocations: 0.9107 MB / 0.6173 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000785/0.4642, allocations: 385.9 kB / 0.6177 GB, free: 7.738 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05458/0.5188, allocations: 26.88 MB / 0.644 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.5188, allocations: 42.98 kB / 0.644 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.244e-06/0.5189, allocations: 0 / 0.644 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.007144/0.526, allocations: 1.978 MB / 0.6459 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.5261, allocations: 115.1 kB / 0.646 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.527, allocations: 0.5927 MB / 0.6466 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.858e-05/0.5271, allocations: 29.7 kB / 0.6467 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.5274, allocations: 324.3 kB / 0.647 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.5276, allocations: 170.6 kB / 0.6471 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.5279, allocations: 134.3 kB / 0.6473 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.528, allocations: 366.8 kB / 0.6476 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/0.5288, allocations: 325.1 kB / 0.6479 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.5297, allocations: 497.1 kB / 0.6484 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.5312, allocations: 0.7357 MB / 0.6491 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5312, allocations: 0 / 0.6491 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002362/0.5336, allocations: 1.055 MB / 0.6501 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.5336, allocations: 11.94 kB / 0.6501 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5336, allocations: 4 kB / 0.6502 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.5349, allocations: 433.5 kB / 0.6506 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.5354, allocations: 115.9 kB / 0.6507 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.5374, allocations: 1.628 MB / 0.6523 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.5381, allocations: 95.38 kB / 0.6524 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.5381, allocations: 27.98 kB / 0.6524 GB, free: 0.5117 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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 {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004071/0.5386, allocations: 233.7 kB / 0.6526 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.5387, allocations: 71.56 kB / 0.6527 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004766/0.5435, allocations: 3.252 MB / 0.6559 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/0.5436, allocations: 43.92 kB / 0.6559 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5436, allocations: 4 kB / 0.6559 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5436, allocations: 3.984 kB / 0.6559 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.5456, allocations: 1.569 MB / 0.6574 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5456, allocations: 0 / 0.6574 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.546, allocations: 91.86 kB / 0.6575 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/0.5476, allocations: 0.8661 MB / 0.6584 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.5476, allocations: 15.98 kB / 0.6584 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.5504, allocations: 2.288 MB / 0.6606 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5505, allocations: 0 / 0.6606 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003493/0.554, allocations: 2.282 MB / 0.6628 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.5544, allocations: 307.5 kB / 0.6631 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.5546, allocations: 23.98 kB / 0.6632 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.5551, allocations: 43.95 kB / 0.6632 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.5553, allocations: 68.45 kB / 0.6633 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.5553, allocations: 23.98 kB / 0.6633 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006667/0.556, allocations: 0.5107 MB / 0.6638 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.556, allocations: 4 kB / 0.6638 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003101/0.5591, allocations: 1.181 MB / 0.6649 GB, free: 3.461 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008907/0.568, allocations: 3.816 MB / 0.6687 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002634/0.5707, allocations: 1.134 MB / 0.6698 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5708, allocations: 8.062 kB / 0.6698 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.5723, allocations: 0.8806 MB / 0.6706 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.5743, allocations: 380 kB / 0.671 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.5891, allocations: 8.46 MB / 0.6793 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/0.5899, allocations: 1.15 MB / 0.6804 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000787/0.5907, allocations: 359.8 kB / 0.6807 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/0.5913, allocations: 411.3 kB / 0.6811 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.5913, allocations: 4 kB / 0.6811 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.339/0.9303, allocations: 61.44 MB / 0.7411 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.18/17.11, allocations: 16.97 kB / 0.7411 GB, free: 148.5 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)