Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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-master/package.mo", uses=false) 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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.005999/0.005999, allocations: 96.56 kB / 15.73 MB, free: 6.055 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.001435/0.001435, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9919/0.9919, allocations: 135.5 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 63.91 kB / 0.5857 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3476, allocations: 81.03 MB / 0.6648 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001983/0.3496, allocations: 1.245 MB / 0.6661 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.3524, allocations: 2.936 MB / 0.6689 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.3524, allocations: 0 / 0.6689 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.3525, allocations: 1.219 kB / 0.6689 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.3525, allocations: 3.938 kB / 0.6689 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.3529, allocations: 104.9 kB / 0.669 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.541e-05/0.353, allocations: 29.77 kB / 0.6691 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.3531, allocations: 10.61 kB / 0.6691 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.3534, allocations: 157.6 kB / 0.6692 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.3535, allocations: 21.56 kB / 0.6692 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3535, allocations: 2.156 kB / 0.6692 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.3537, allocations: 64.47 kB / 0.6693 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.3537, allocations: 2.281 kB / 0.6693 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.3537, allocations: 23.34 kB / 0.6693 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.3539, allocations: 71.36 kB / 0.6694 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3539, allocations: 0 / 0.6694 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3539, allocations: 1.344 kB / 0.6694 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3539, allocations: 0 / 0.6694 GB, free: 3.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002977/0.3542, allocations: 344.7 kB / 0.6697 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3542, allocations: 9.438 kB / 0.6697 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.363e-05/0.3543, allocations: 40.75 kB / 0.6698 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.3543, allocations: 7.547 kB / 0.6698 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.766e-05/0.3544, allocations: 169.3 kB / 0.6699 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3544, allocations: 3 kB / 0.67 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3544, allocations: 7.188 kB / 0.67 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.3545, allocations: 53.36 kB / 0.67 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3545, allocations: 1.281 kB / 0.67 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3545, allocations: 4 kB / 0.67 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3545, allocations: 1.219 kB / 0.67 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.3546, allocations: 18.03 kB / 0.67 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.3547, allocations: 170.4 kB / 0.6702 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.848e-05/0.3548, allocations: 51.53 kB / 0.6702 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.3548, allocations: 24.72 kB / 0.6703 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/0.3553, allocations: 0.5933 MB / 0.6708 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.3554, allocations: 35.88 kB / 0.6709 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.3554, allocations: 0 / 0.6709 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004649/0.3558, allocations: 311.5 kB / 0.6712 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.3559, allocations: 56.83 kB / 0.6712 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.275e-05/0.3559, allocations: 102.6 kB / 0.6713 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.3559, allocations: 29.7 kB / 0.6714 GB, free: 1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.356, allocations: 89.44 kB / 0.6714 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.356, allocations: 23.66 kB / 0.6715 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.356, allocations: 33.52 kB / 0.6715 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.3561, allocations: 316.2 kB / 0.6718 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.3561, allocations: 11.72 kB / 0.6718 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.3561, allocations: 52.42 kB / 0.6719 GB, free: 492 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.53e-05/0.3562, allocations: 79.05 kB / 0.6719 GB, free: 416 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3562, allocations: 0 / 0.6719 GB, free: 416 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001096/0.3563, allocations: 91.39 kB / 0.672 GB, free: 356 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3563, allocations: 5.625 kB / 0.672 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3564, allocations: 1.219 kB / 0.672 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3564, allocations: 2.844 kB / 0.672 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.3564, allocations: 20.25 kB / 0.6721 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3565, allocations: 6.703 kB / 0.6721 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.3565, allocations: 9.219 kB / 0.6721 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3565, allocations: 3.906 kB / 0.6721 GB, free: 340 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 4.566e-05/0.3566, allocations: 121.6 kB / 0.6722 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3566, allocations: 6.297 kB / 0.6722 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.3566, allocations: 7.969 kB / 0.6722 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3566, allocations: 1.312 kB / 0.6722 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3566, allocations: 4 kB / 0.6722 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3566, allocations: 5.25 kB / 0.6722 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.3568, allocations: 172.9 kB / 0.6724 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3569, allocations: 5.688 kB / 0.6724 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.357, allocations: 21.11 kB / 0.6724 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.357, allocations: 3.938 kB / 0.6724 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.357, allocations: 5.188 kB / 0.6724 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.357, allocations: 0 / 0.6724 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.357, allocations: 1.469 kB / 0.6724 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.3572, allocations: 176.9 kB / 0.6726 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.3572, allocations: 83.38 kB / 0.6727 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3573, allocations: 0 / 0.6727 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3574, allocations: 10.53 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.3574, allocations: 6.594 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3574, allocations: 2.719 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.3575, allocations: 78.09 kB / 0.6728 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3575, allocations: 0 / 0.6728 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002324/0.3577, allocations: 13.88 kB / 0.6728 GB, free: 15.62 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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): 7 * 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.0004817/0.3582, allocations: 0.7169 MB / 0.6735 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3583, allocations: 37.95 kB / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3583, allocations: 1.719 kB / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.3584, allocations: 18.78 kB / 0.6735 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3586, allocations: 10.94 kB / 0.6735 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3601, allocations: 1.529 MB / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3604, allocations: 0.6822 MB / 0.6757 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.3604, allocations: 6.75 kB / 0.6757 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.3605, allocations: 15.12 kB / 0.6757 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.3605, allocations: 0 / 0.6757 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2001/0.5606, allocations: 1.666 MB / 0.6773 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.81, allocations: 13.73 kB / 0.6774 GB, free: 11.78 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)