Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_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.002907/0.002908, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.002167/0.002167, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.212/2.212, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9734/0.9734, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004395, allocations: 9.875 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 82.32 MB / 0.5873 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001336/0.2069, allocations: 0.9589 MB / 0.5882 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5299/0.7368, allocations: 116.4 MB / 0.7019 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.737, allocations: 0 / 0.7019 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.737, allocations: 1.266 kB / 0.7019 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.7371, allocations: 9.625 kB / 0.7019 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.7395, allocations: 355.7 kB / 0.7022 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.7396, allocations: 29.11 kB / 0.7022 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.1e-05/0.7397, allocations: 5.875 kB / 0.7022 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.002e-05/0.7398, allocations: 21.25 kB / 0.7023 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.7399, allocations: 20.91 kB / 0.7023 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.74, allocations: 9.375 kB / 0.7023 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003084/0.7431, allocations: 0.7825 MB / 0.7031 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.7431, allocations: 12.55 kB / 0.7031 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.7432, allocations: 31 kB / 0.7031 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.7445, allocations: 277.8 kB / 0.7034 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7446, allocations: 0 / 0.7034 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.37e-06/0.7446, allocations: 0 / 0.7034 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.7446, allocations: 0 / 0.7034 GB, free: 8.207 MB / 0.5294 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.001246/0.7458, allocations: 365.6 kB / 0.7037 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001288/0.746, allocations: 10.73 kB / 0.7037 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.7461, allocations: 38.09 kB / 0.7038 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/0.7466, allocations: 19.31 kB / 0.7038 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.747, allocations: 166.3 kB / 0.7039 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.747, allocations: 1.594 kB / 0.7039 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.7471, allocations: 9.344 kB / 0.7039 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.7476, allocations: 51.92 kB / 0.704 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.7476, allocations: 0 / 0.704 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.7477, allocations: 4.938 kB / 0.704 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.7477, allocations: 1.094 kB / 0.704 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.7479, allocations: 18.53 kB / 0.704 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.7486, allocations: 174.8 kB / 0.7042 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.7489, allocations: 57.33 kB / 0.7042 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01511/0.764, allocations: 3.201 MB / 0.7074 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.026e-05/0.7641, allocations: 38.34 kB / 0.7074 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 3.837e-06/0.7641, allocations: 0 / 0.7074 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.05061/0.8148, allocations: 14.25 MB / 0.7213 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.8149, allocations: 51.41 kB / 0.7214 GB, free: 2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.815, allocations: 104 kB / 0.7215 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.815, allocations: 29.7 kB / 0.7215 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.8151, allocations: 80.14 kB / 0.7216 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.8152, allocations: 37.62 kB / 0.7216 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.8152, allocations: 0 / 0.7216 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.8154, allocations: 317 kB / 0.7219 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.8154, allocations: 24.31 kB / 0.7219 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.716e-05/0.8155, allocations: 26.09 kB / 0.722 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.229e-05/0.8156, allocations: 32.12 kB / 0.722 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8156, allocations: 0 / 0.722 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002345/0.8158, allocations: 100.1 kB / 0.7221 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.8159, allocations: 8 kB / 0.7221 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8159, allocations: 0 / 0.7221 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.8159, allocations: 0 / 0.7221 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.816, allocations: 28.31 kB / 0.7221 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.8161, allocations: 3.938 kB / 0.7221 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.8161, allocations: 0 / 0.7221 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.8161, allocations: 11.95 kB / 0.7221 GB, free: 1.203 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.8163, allocations: 121.8 kB / 0.7222 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.8163, allocations: 10.09 kB / 0.7223 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.8166, allocations: 117.7 kB / 0.7224 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.8167, allocations: 6.156 kB / 0.7224 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8167, allocations: 4 kB / 0.7224 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8167, allocations: 3.938 kB / 0.7224 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.8169, allocations: 176.2 kB / 0.7225 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.8169, allocations: 2.203 kB / 0.7226 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.817, allocations: 26.2 kB / 0.7226 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.817, allocations: 0 / 0.7226 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.817, allocations: 0 / 0.7226 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.8171, allocations: 4 kB / 0.7226 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8171, allocations: 2.203 kB / 0.7226 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.8174, allocations: 151.9 kB / 0.7227 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/0.8175, allocations: 91.22 kB / 0.7228 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.8175, allocations: 10.14 kB / 0.7228 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.8177, allocations: 10.16 kB / 0.7228 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.8177, allocations: 10.16 kB / 0.7228 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.8177, allocations: 6.203 kB / 0.7228 GB, free: 420 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.8177, allocations: 79.28 kB / 0.7229 GB, free: 340 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8178, allocations: 0 / 0.7229 GB, free: 340 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004358/0.8221, allocations: 0.6498 MB / 0.7236 GB, free: 15.92 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006394/0.8285, allocations: 0.9406 MB / 0.7245 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.8288, allocations: 64.92 kB / 0.7245 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/0.8288, allocations: 4 kB / 0.7245 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.8289, allocations: 43.86 kB / 0.7246 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.8291, allocations: 4 kB / 0.7246 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.8319, allocations: 0.7597 MB / 0.7253 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.8322, allocations: 0.6895 MB / 0.726 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.8323, allocations: 20.55 kB / 0.726 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.8324, allocations: 27.48 kB / 0.726 GB, free: 13.28 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.8324, allocations: 4 kB / 0.7261 GB, free: 13.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06908/0.9015, allocations: 26.6 MB / 0.752 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002893/0.9018, allocations: 162.1 kB / 0.7522 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.443, allocations: 3.938 kB / 0.7522 GB, free: 2.527 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: