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.001387/0.001387, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7884/0.7884, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 56.25 kB / 0.5019 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4298, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002263/0.4321, allocations: 1.254 MB / 0.5814 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.4357, allocations: 2.935 MB / 0.5843 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.4357, allocations: 0.7188 kB / 0.5843 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.4358, allocations: 5.203 kB / 0.5843 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.4358, allocations: 5.344 kB / 0.5843 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.4363, allocations: 103.2 kB / 0.5844 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.4364, allocations: 38.45 kB / 0.5844 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.4365, allocations: 3.672 kB / 0.5844 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004818/0.437, allocations: 152.3 kB / 0.5846 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.437, allocations: 22 kB / 0.5846 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.437, allocations: 1.125 kB / 0.5846 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.4372, allocations: 63.23 kB / 0.5846 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.4373, allocations: 3.312 kB / 0.5846 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.4373, allocations: 20.47 kB / 0.5847 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.4375, allocations: 71.94 kB / 0.5847 GB, free: 1.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4375, allocations: 1.281 kB / 0.5847 GB, free: 1.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4375, allocations: 0 / 0.5847 GB, free: 1.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.4375, allocations: 0 / 0.5847 GB, free: 1.383 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.0003368/0.4379, allocations: 347.2 kB / 0.5851 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4379, allocations: 9.469 kB / 0.5851 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.438, allocations: 32.39 kB / 0.5851 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.438, allocations: 4.047 kB / 0.5851 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.616e-05/0.4381, allocations: 162.1 kB / 0.5853 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.4381, allocations: 10.94 kB / 0.5853 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.4381, allocations: 11.91 kB / 0.5853 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.4383, allocations: 62.05 kB / 0.5853 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.4383, allocations: 4 kB / 0.5854 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.4383, allocations: 1.516 kB / 0.5854 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.4383, allocations: 1.156 kB / 0.5854 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.4384, allocations: 22.59 kB / 0.5854 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.4385, allocations: 168.1 kB / 0.5855 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.149e-05/0.4386, allocations: 52.72 kB / 0.5856 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.4386, allocations: 18.31 kB / 0.5856 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.4393, allocations: 0.5954 MB / 0.5862 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4393, allocations: 35.59 kB / 0.5862 GB, free: 15.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4393, allocations: 0.9062 kB / 0.5862 GB, free: 15.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005838/0.4399, allocations: 299.3 kB / 0.5865 GB, free: 15.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.4399, allocations: 53.09 kB / 0.5866 GB, free: 15.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.44, allocations: 104.6 kB / 0.5867 GB, free: 15.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.4401, allocations: 26.42 kB / 0.5867 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.4401, allocations: 90.83 kB / 0.5868 GB, free: 15.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.4401, allocations: 20.83 kB / 0.5868 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.4402, allocations: 27.14 kB / 0.5868 GB, free: 15.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4403, allocations: 322.6 kB / 0.5871 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.4403, allocations: 9.234 kB / 0.5871 GB, free: 14.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.4404, allocations: 57.2 kB / 0.5872 GB, free: 14.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4405, allocations: 79.39 kB / 0.5873 GB, free: 14.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4405, allocations: 0.5938 kB / 0.5873 GB, free: 14.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001544/0.4407, allocations: 93.66 kB / 0.5874 GB, free: 14.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4407, allocations: 6.5 kB / 0.5874 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4407, allocations: 2.125 kB / 0.5874 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4408, allocations: 2.562 kB / 0.5874 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.4409, allocations: 30.66 kB / 0.5874 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4409, allocations: 2.25 kB / 0.5874 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.4409, allocations: 5.625 kB / 0.5874 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.4409, allocations: 9.656 kB / 0.5874 GB, free: 14.65 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 9.238e-05/0.441, allocations: 116.7 kB / 0.5875 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.4411, allocations: 2.875 kB / 0.5875 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.4411, allocations: 9.531 kB / 0.5875 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4411, allocations: 2.219 kB / 0.5875 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4411, allocations: 4 kB / 0.5875 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4411, allocations: 4.734 kB / 0.5875 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.4414, allocations: 177.7 kB / 0.5877 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4414, allocations: 0 / 0.5877 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.4415, allocations: 20.42 kB / 0.5877 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4416, allocations: 3.938 kB / 0.5877 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4416, allocations: 2.125 kB / 0.5877 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4416, allocations: 0 / 0.5877 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4416, allocations: 0 / 0.5877 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.4418, allocations: 180.9 kB / 0.5879 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.4419, allocations: 81.73 kB / 0.588 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.4419, allocations: 0.5625 kB / 0.588 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.442, allocations: 8.328 kB / 0.588 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.442, allocations: 7.922 kB / 0.588 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.442, allocations: 2.312 kB / 0.588 GB, free: 14.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.38e-05/0.4421, allocations: 83.2 kB / 0.5881 GB, free: 13.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4421, allocations: 0 / 0.5881 GB, free: 13.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.4423, allocations: 15.53 kB / 0.5881 GB, free: 13.97 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.0004318/0.4428, allocations: 0.7106 MB / 0.5888 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.4429, allocations: 44.67 kB / 0.5888 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4429, allocations: 0 / 0.5888 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/0.4429, allocations: 26.17 kB / 0.5889 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.4432, allocations: 14.36 kB / 0.5889 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4447, allocations: 1.518 MB / 0.5904 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.4449, allocations: 0.6831 MB / 0.591 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.445, allocations: 13 kB / 0.591 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.4451, allocations: 16.27 kB / 0.5911 GB, free: 11.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4451, allocations: 0 / 0.5911 GB, free: 11.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.4648, allocations: 1.624 MB / 0.5926 GB, free: 10.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.803/10.27, allocations: 7.438 kB / 0.5926 GB, free: 10.73 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)