Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_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.001192/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001221/0.001221, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6917/0.6917, allocations: 132.2 MB / 422.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 59.52 kB / 0.5012 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3451, allocations: 80.21 MB / 0.5795 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002251/0.3474, allocations: 1.318 MB / 0.5808 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.3508, allocations: 2.932 MB / 0.5836 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.3509, allocations: 0 / 0.5836 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.3509, allocations: 5.203 kB / 0.5836 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.351, allocations: 5.688 kB / 0.5837 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.3514, allocations: 97.56 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.3515, allocations: 31.55 kB / 0.5838 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.3515, allocations: 2.375 kB / 0.5838 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.3519, allocations: 152.5 kB / 0.5839 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.352, allocations: 14.02 kB / 0.5839 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.352, allocations: 2 kB / 0.5839 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.3522, allocations: 69.77 kB / 0.584 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.3522, allocations: 8.547 kB / 0.584 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.3522, allocations: 12.97 kB / 0.584 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3524, allocations: 67.75 kB / 0.5841 GB, free: 1.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3524, allocations: 1.312 kB / 0.5841 GB, free: 1.324 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.3524, allocations: 0 / 0.5841 GB, free: 1.324 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.3524, allocations: 0 / 0.5841 GB, free: 1.324 MB / 430.1 MB 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.000305/0.3527, allocations: 346.1 kB / 0.5844 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3528, allocations: 9.984 kB / 0.5844 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.52e-05/0.3528, allocations: 42.02 kB / 0.5845 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.3529, allocations: 7.062 kB / 0.5845 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.859e-05/0.3529, allocations: 162.4 kB / 0.5846 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3529, allocations: 6.109 kB / 0.5846 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.353, allocations: 13.03 kB / 0.5847 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.3531, allocations: 52.27 kB / 0.5847 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.3531, allocations: 1.531 kB / 0.5847 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3531, allocations: 8.688 kB / 0.5847 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3531, allocations: 1.844 kB / 0.5847 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.3532, allocations: 14.44 kB / 0.5847 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.3533, allocations: 171.3 kB / 0.5849 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.112e-05/0.3534, allocations: 53.89 kB / 0.5849 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.3534, allocations: 17.3 kB / 0.585 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.3541, allocations: 0.5918 MB / 0.5855 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3541, allocations: 39.69 kB / 0.5856 GB, free: 15.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3541, allocations: 1.625 kB / 0.5856 GB, free: 15.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006112/0.3547, allocations: 295 kB / 0.5859 GB, free: 15.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.3548, allocations: 53.02 kB / 0.5859 GB, free: 15.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.3549, allocations: 103.6 kB / 0.586 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3549, allocations: 26.7 kB / 0.586 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.3549, allocations: 94.5 kB / 0.5861 GB, free: 15.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.355, allocations: 25.22 kB / 0.5861 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.355, allocations: 31.42 kB / 0.5862 GB, free: 15.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.3551, allocations: 314.2 kB / 0.5865 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.3551, allocations: 13.61 kB / 0.5865 GB, free: 14.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.506e-05/0.3552, allocations: 57.12 kB / 0.5865 GB, free: 14.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.876e-05/0.3553, allocations: 73.08 kB / 0.5866 GB, free: 14.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3553, allocations: 0 / 0.5866 GB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001326/0.3554, allocations: 94.22 kB / 0.5867 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3555, allocations: 10.55 kB / 0.5867 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3555, allocations: 1.219 kB / 0.5867 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3555, allocations: 2.438 kB / 0.5867 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.3556, allocations: 26.69 kB / 0.5867 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3556, allocations: 3.391 kB / 0.5867 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.3556, allocations: 5.875 kB / 0.5867 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3556, allocations: 3.625 kB / 0.5868 GB, free: 14.59 MB / 446.1 MB 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 6.972e-05/0.3557, allocations: 118 kB / 0.5869 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3557, allocations: 6.188 kB / 0.5869 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.3558, allocations: 14.09 kB / 0.5869 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3558, allocations: 0.75 kB / 0.5869 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.3558, allocations: 1.156 kB / 0.5869 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3558, allocations: 8.531 kB / 0.5869 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.356, allocations: 173.7 kB / 0.5871 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.356, allocations: 4 kB / 0.5871 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.3561, allocations: 16.27 kB / 0.5871 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3561, allocations: 0 / 0.5871 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3562, allocations: 1.891 kB / 0.5871 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3562, allocations: 0 / 0.5871 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3562, allocations: 10.11 kB / 0.5871 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.3563, allocations: 170.7 kB / 0.5873 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.3564, allocations: 86.3 kB / 0.5873 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3564, allocations: 2.031 kB / 0.5873 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3565, allocations: 6.75 kB / 0.5873 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.3565, allocations: 12.19 kB / 0.5874 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3566, allocations: 1.906 kB / 0.5874 GB, free: 13.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.3566, allocations: 83.58 kB / 0.5874 GB, free: 13.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3566, allocations: 0 / 0.5874 GB, free: 13.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.3568, allocations: 14.31 kB / 0.5875 GB, free: 13.91 MB / 446.1 MB 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.0004061/0.3572, allocations: 0.7 MB / 0.5881 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.3574, allocations: 54.97 kB / 0.5882 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3574, allocations: 0.7188 kB / 0.5882 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.3574, allocations: 17.52 kB / 0.5882 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3577, allocations: 11.73 kB / 0.5882 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3591, allocations: 1.535 MB / 0.5897 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3593, allocations: 0.687 MB / 0.5904 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.3594, allocations: 7.875 kB / 0.5904 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.3594, allocations: 16.45 kB / 0.5904 GB, free: 11.03 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3594, allocations: 0 / 0.5904 GB, free: 11.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2657/0.6251, allocations: 1.491 MB / 0.5919 GB, free: 10.79 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/0.6254, allocations: 199.9 kB / 0.5921 GB, free: 10.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.526, allocations: 3.828 kB / 0.5921 GB, free: 10.54 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)