Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",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.004894/0.004895, allocations: 104 kB / 15.74 MB, free: 6.059 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.001038/0.001038, allocations: 199 kB / 16.68 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8032/0.8032, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 66.66 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1479, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002384/0.1504, allocations: 1.259 MB / 0.6604 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5113/0.6617, allocations: 137.7 MB / 0.7949 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.6617, allocations: 1.125 kB / 0.7949 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.6618, allocations: 2.531 kB / 0.7949 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/0.6619, allocations: 5.125 kB / 0.7949 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.6632, allocations: 468.5 kB / 0.7953 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.6633, allocations: 44.12 kB / 0.7954 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.6634, allocations: 5.438 kB / 0.7954 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.6634, allocations: 26.06 kB / 0.7954 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.6635, allocations: 19.3 kB / 0.7954 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.6635, allocations: 2.312 kB / 0.7954 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.6649, allocations: 0.8243 MB / 0.7962 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.665, allocations: 7.5 kB / 0.7962 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.665, allocations: 19.94 kB / 0.7963 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.6656, allocations: 454.5 kB / 0.7967 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6656, allocations: 1.375 kB / 0.7967 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6656, allocations: 0 / 0.7967 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.6656, allocations: 0 / 0.7967 GB, free: 12.61 MB / 0.5919 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.0005151/0.6661, allocations: 366 kB / 0.797 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6662, allocations: 16.34 kB / 0.7971 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.6663, allocations: 35.69 kB / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.6664, allocations: 17.5 kB / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.6665, allocations: 163.8 kB / 0.7973 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6666, allocations: 1.938 kB / 0.7973 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.6666, allocations: 10 kB / 0.7973 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.6667, allocations: 53.12 kB / 0.7973 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6668, allocations: 0 / 0.7973 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6668, allocations: 5.312 kB / 0.7973 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6668, allocations: 9.953 kB / 0.7973 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.625e-05/0.6669, allocations: 19.44 kB / 0.7974 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.667, allocations: 166 kB / 0.7975 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.6671, allocations: 47.72 kB / 0.7976 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.6672, allocations: 25.45 kB / 0.7976 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.6776, allocations: 3.202 MB / 0.8007 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/0.6777, allocations: 39.97 kB / 0.8008 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.504e-06/0.6777, allocations: 0 / 0.8008 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03706/0.7148, allocations: 15 MB / 0.8154 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.7149, allocations: 57.88 kB / 0.8155 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.715, allocations: 96.5 kB / 0.8155 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.715, allocations: 28.83 kB / 0.8156 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.715, allocations: 80.14 kB / 0.8156 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.7151, allocations: 47.42 kB / 0.8157 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.7151, allocations: 26.78 kB / 0.8157 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7152, allocations: 324.7 kB / 0.816 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/0.7153, allocations: 23.05 kB / 0.8161 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.7153, allocations: 27.94 kB / 0.8161 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.7155, allocations: 59.5 kB / 0.8161 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7155, allocations: 0 / 0.8161 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002014/0.7157, allocations: 105.5 kB / 0.8162 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.7157, allocations: 9.297 kB / 0.8162 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7157, allocations: 0 / 0.8162 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7157, allocations: 2.562 kB / 0.8162 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.7158, allocations: 21.84 kB / 0.8163 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.7159, allocations: 2.094 kB / 0.8163 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.7159, allocations: 3.312 kB / 0.8163 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.7159, allocations: 12.7 kB / 0.8163 GB, free: 5.785 MB / 0.5919 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 (14): * Single equations (assignments): 14 * 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 8.536e-05/0.716, allocations: 120.7 kB / 0.8164 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.7161, allocations: 6.719 kB / 0.8164 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.7163, allocations: 123.6 kB / 0.8165 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7163, allocations: 2.688 kB / 0.8165 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7164, allocations: 4 kB / 0.8165 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7164, allocations: 0 / 0.8165 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.7165, allocations: 178.7 kB / 0.8167 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7165, allocations: 0 / 0.8167 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.7166, allocations: 31.48 kB / 0.8167 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7166, allocations: 0 / 0.8167 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.7167, allocations: 2.75 kB / 0.8167 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7167, allocations: 0 / 0.8167 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7167, allocations: 0 / 0.8167 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.717, allocations: 161.8 kB / 0.8169 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.717, allocations: 86.8 kB / 0.817 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.7171, allocations: 3.188 kB / 0.817 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.7172, allocations: 14.08 kB / 0.817 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.7172, allocations: 9.766 kB / 0.817 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.7172, allocations: 4.719 kB / 0.817 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.7173, allocations: 83.22 kB / 0.8171 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7173, allocations: 0 / 0.8171 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002167/0.7195, allocations: 0.569 MB / 0.8176 GB, free: 5.082 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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.003175/0.7226, allocations: 0.9354 MB / 0.8185 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.7228, allocations: 66.28 kB / 0.8186 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7229, allocations: 0 / 0.8186 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.7229, allocations: 45.42 kB / 0.8187 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.7231, allocations: 9.438 kB / 0.8187 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.7253, allocations: 1.544 MB / 0.8202 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.7255, allocations: 0.6899 MB / 0.8208 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.825e-05/0.7256, allocations: 26.59 kB / 0.8209 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.7257, allocations: 21.62 kB / 0.8209 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.7257, allocations: 0 / 0.8209 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05102/0.7767, allocations: 25.42 MB / 0.8457 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.859, allocations: 9.094 kB / 0.8457 GB, free: 9.066 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)