Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007/0.007, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 188.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7758/0.7758, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 63.08 kB / 0.5809 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.204, allocations: 80.21 MB / 0.6592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002957/0.207, allocations: 1.373 MB / 0.6605 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005003/0.212, allocations: 2.921 MB / 0.6634 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.2121, allocations: 0 / 0.6634 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.2123, allocations: 11.92 kB / 0.6634 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.2125, allocations: 35.81 kB / 0.6634 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2136, allocations: 179.2 kB / 0.6636 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.214, allocations: 243.5 kB / 0.6638 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.348e-05/0.214, allocations: 8 kB / 0.6638 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.2142, allocations: 91.84 kB / 0.6639 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.2145, allocations: 127.7 kB / 0.664 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.2145, allocations: 12 kB / 0.6641 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.2151, allocations: 139.8 kB / 0.6642 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.2152, allocations: 83.81 kB / 0.6643 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.2154, allocations: 91.59 kB / 0.6644 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.2161, allocations: 275 kB / 0.6646 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2161, allocations: 0 / 0.6646 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.935e-06/0.2161, allocations: 0 / 0.6646 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.2162, allocations: 4 kB / 0.6646 GB, free: 8.301 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.00116/0.2173, allocations: 0.5338 MB / 0.6651 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/0.2174, allocations: 8.031 kB / 0.6651 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.625e-05/0.2175, allocations: 50.73 kB / 0.6652 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.2177, allocations: 20.75 kB / 0.6652 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.2181, allocations: 236.1 kB / 0.6654 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.2181, allocations: 24.36 kB / 0.6655 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.2182, allocations: 16.38 kB / 0.6655 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007074/0.2189, allocations: 289.1 kB / 0.6658 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2189, allocations: 0 / 0.6658 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.219, allocations: 11.94 kB / 0.6658 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.219, allocations: 7.938 kB / 0.6658 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.2207, allocations: 0.7452 MB / 0.6665 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.2212, allocations: 313 kB / 0.6668 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.2228, allocations: 0.6715 MB / 0.6675 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.2233, allocations: 229.6 kB / 0.6677 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004964/0.2238, allocations: 396.3 kB / 0.6681 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.2239, allocations: 46.56 kB / 0.6681 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 1.402e-06/0.2239, allocations: 0 / 0.6681 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001656/0.2255, allocations: 0.6501 MB / 0.6687 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.2256, allocations: 55.41 kB / 0.6688 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2257, allocations: 126.1 kB / 0.6689 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.2258, allocations: 29.7 kB / 0.6689 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.2258, allocations: 96.78 kB / 0.669 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.226, allocations: 126.1 kB / 0.6691 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.2261, allocations: 69.67 kB / 0.6692 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002299/0.2264, allocations: 330.8 kB / 0.6695 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.2268, allocations: 195.8 kB / 0.6697 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.2273, allocations: 195.6 kB / 0.6699 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.2281, allocations: 370 kB / 0.6703 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2281, allocations: 0 / 0.6703 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001214/0.2293, allocations: 464.6 kB / 0.6707 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2294, allocations: 8 kB / 0.6707 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2294, allocations: 0 / 0.6707 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.2294, allocations: 0 / 0.6707 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.2301, allocations: 103.8 kB / 0.6708 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2301, allocations: 4 kB / 0.6708 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.2303, allocations: 43.8 kB / 0.6709 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.2303, allocations: 8 kB / 0.6709 GB, free: 1.594 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.2305, allocations: 145.8 kB / 0.671 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.2305, allocations: 23.75 kB / 0.671 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.2316, allocations: 0.517 MB / 0.6715 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2316, allocations: 4 kB / 0.6715 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2316, allocations: 7.875 kB / 0.6715 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2317, allocations: 3.984 kB / 0.6715 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.2321, allocations: 309.2 kB / 0.6718 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2321, allocations: 3.938 kB / 0.6718 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.2324, allocations: 95.86 kB / 0.6719 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2324, allocations: 4 kB / 0.6719 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.2325, allocations: 15.98 kB / 0.672 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2325, allocations: 0 / 0.672 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2325, allocations: 0 / 0.672 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2336, allocations: 496 kB / 0.6724 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2337, allocations: 100.8 kB / 0.6725 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.2338, allocations: 4 kB / 0.6725 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.2339, allocations: 35.95 kB / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.2342, allocations: 123.8 kB / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.2342, allocations: 11.98 kB / 0.6727 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.986e-05/0.2343, allocations: 105 kB / 0.6728 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2343, allocations: 0 / 0.6728 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004418/0.2348, allocations: 115.9 kB / 0.6729 GB, free: 15.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002097/0.2369, allocations: 1.123 MB / 0.674 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.2381, allocations: 471.3 kB / 0.6744 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2381, allocations: 0 / 0.6744 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.2386, allocations: 263.7 kB / 0.6747 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.239, allocations: 82.05 kB / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.2433, allocations: 2.673 MB / 0.6774 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.2437, allocations: 0.7365 MB / 0.6781 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003968/0.2441, allocations: 187 kB / 0.6783 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2443, allocations: 67.39 kB / 0.6783 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.2443, allocations: 0 / 0.6783 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.2722, allocations: 7.516 MB / 0.6857 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.342, allocations: 6.469 kB / 0.6857 GB, free: 2.391 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)