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.007761/0.007761, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001853/0.001853, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.466/1.466, 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.8155/0.8155, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 59.91 kB / 0.5808 GB, free: 8.113 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.391, allocations: 80.21 MB / 0.6592 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001869/0.3929, allocations: 1.261 MB / 0.6604 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1551/0.548, allocations: 137.7 MB / 0.7949 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.5481, allocations: 0 / 0.7949 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.5481, allocations: 7.922 kB / 0.7949 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.5482, allocations: 7.875 kB / 0.7949 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.5495, allocations: 466.4 kB / 0.7953 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.5496, allocations: 39.86 kB / 0.7954 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.5496, allocations: 11.97 kB / 0.7954 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.5497, allocations: 23.92 kB / 0.7954 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.5498, allocations: 15.97 kB / 0.7954 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.5498, allocations: 0 / 0.7954 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.5513, allocations: 0.8309 MB / 0.7962 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.5514, allocations: 15.92 kB / 0.7963 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.5514, allocations: 8 kB / 0.7963 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.552, allocations: 446.8 kB / 0.7967 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.552, allocations: 0 / 0.7967 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.92e-07/0.552, allocations: 0 / 0.7967 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.552, allocations: 0 / 0.7967 GB, free: 8.863 MB / 0.6231 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.0005034/0.5525, allocations: 383.1 kB / 0.7971 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5526, allocations: 12.02 kB / 0.7971 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.5526, allocations: 42.69 kB / 0.7971 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.5528, allocations: 8.938 kB / 0.7971 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.5529, allocations: 172.3 kB / 0.7973 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5529, allocations: 4.375 kB / 0.7973 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.553, allocations: 7.938 kB / 0.7973 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.5531, allocations: 53.67 kB / 0.7973 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5531, allocations: 4 kB / 0.7974 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.5531, allocations: 0 / 0.7974 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5531, allocations: 4 kB / 0.7974 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.5532, allocations: 15.98 kB / 0.7974 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.5534, allocations: 169.6 kB / 0.7975 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.5535, allocations: 58.44 kB / 0.7976 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.5535, allocations: 13.08 kB / 0.7976 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.5649, allocations: 3.209 MB / 0.8007 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.565, allocations: 34.55 kB / 0.8008 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.565, allocations: 0 / 0.8008 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.04494/0.6099, allocations: 14.99 MB / 0.8154 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.61, allocations: 55.34 kB / 0.8155 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.6101, allocations: 93.86 kB / 0.8155 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.6101, allocations: 29.7 kB / 0.8156 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.6102, allocations: 80.14 kB / 0.8157 GB, free: 5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.6103, allocations: 39.62 kB / 0.8157 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.6104, allocations: 33.7 kB / 0.8157 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.6105, allocations: 322.9 kB / 0.816 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.6106, allocations: 23.98 kB / 0.8161 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.515e-05/0.6106, allocations: 30.67 kB / 0.8161 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.6108, allocations: 56.86 kB / 0.8161 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.6108, allocations: 0 / 0.8161 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002268/0.611, allocations: 109.6 kB / 0.8162 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.611, allocations: 4 kB / 0.8162 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.611, allocations: 7.938 kB / 0.8163 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6111, allocations: 0 / 0.8163 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.6112, allocations: 31.98 kB / 0.8163 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.6112, allocations: 0 / 0.8163 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.6112, allocations: 3.938 kB / 0.8163 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.6113, allocations: 4 kB / 0.8163 GB, free: 4.324 MB / 0.6387 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 9.106e-05/0.6114, allocations: 118.4 kB / 0.8164 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.6114, allocations: 11.95 kB / 0.8164 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.6117, allocations: 125.5 kB / 0.8165 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6117, allocations: 3.984 kB / 0.8165 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6117, allocations: 0 / 0.8165 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6117, allocations: 0 / 0.8165 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.6119, allocations: 181.6 kB / 0.8167 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6119, allocations: 0 / 0.8167 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.612, allocations: 23.98 kB / 0.8167 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.612, allocations: 0 / 0.8167 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.6121, allocations: 8 kB / 0.8167 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6121, allocations: 0 / 0.8167 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6121, allocations: 4 kB / 0.8167 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.6124, allocations: 170.4 kB / 0.8169 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.6125, allocations: 85.14 kB / 0.817 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.6125, allocations: 4 kB / 0.817 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.6127, allocations: 11.98 kB / 0.817 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.6127, allocations: 8 kB / 0.817 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.6127, allocations: 11.98 kB / 0.817 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.6128, allocations: 75.28 kB / 0.8171 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6128, allocations: 4 kB / 0.8171 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001681/0.6144, allocations: 0.5699 MB / 0.8177 GB, free: 2.824 MB / 0.6387 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.003567/0.618, allocations: 0.9322 MB / 0.8186 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.6182, allocations: 75.84 kB / 0.8186 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6182, allocations: 0 / 0.8186 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.6183, allocations: 35.98 kB / 0.8187 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.6185, allocations: 4 kB / 0.8187 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.6207, allocations: 1.554 MB / 0.8202 GB, free: 120 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.6211, allocations: 0.6846 MB / 0.8209 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.699e-05/0.6212, allocations: 24.55 kB / 0.8209 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.6212, allocations: 27.42 kB / 0.8209 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.6212, allocations: 0 / 0.8209 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07108/0.6923, allocations: 25.43 MB / 0.8457 GB, free: 6.078 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.269/9.962, allocations: 4.75 kB / 0.8458 GB, free: 6.078 MB / 0.67 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)