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.0009035/0.0009035, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009949/0.0009948, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7807/0.7807, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 13.22 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4324, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.0011/0.4335, allocations: 0.9834 MB / 0.5841 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1413/0.5749, allocations: 124.9 MB / 0.7061 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.5749, allocations: 3.938 kB / 0.7061 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.575, allocations: 3.984 kB / 0.7061 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.575, allocations: 0 / 0.7061 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.5762, allocations: 362.7 kB / 0.7065 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.712e-05/0.5763, allocations: 27.92 kB / 0.7065 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.5764, allocations: 3.984 kB / 0.7065 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.5764, allocations: 23.92 kB / 0.7065 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.5765, allocations: 27.89 kB / 0.7065 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.5765, allocations: 0 / 0.7065 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.5781, allocations: 0.7686 MB / 0.7073 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.5781, allocations: 11.94 kB / 0.7073 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.5781, allocations: 29.7 kB / 0.7073 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.5785, allocations: 285.7 kB / 0.7076 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5785, allocations: 0 / 0.7076 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5786, allocations: 0 / 0.7076 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5786, allocations: 4 kB / 0.7076 GB, free: 0.8086 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.0005511/0.5791, allocations: 359.2 kB / 0.7079 GB, free: 420 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5792, allocations: 12.03 kB / 0.708 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.5792, allocations: 34.56 kB / 0.708 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.5794, allocations: 15.94 kB / 0.708 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.5795, allocations: 159.1 kB / 0.7082 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.5795, allocations: 4 kB / 0.7082 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.5796, allocations: 8 kB / 0.7082 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5797, allocations: 57.61 kB / 0.7082 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.5797, allocations: 0 / 0.7082 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5798, allocations: 4 kB / 0.7082 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5798, allocations: 3.938 kB / 0.7082 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.5798, allocations: 23.97 kB / 0.7083 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.58, allocations: 169.5 kB / 0.7084 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/0.5801, allocations: 46.56 kB / 0.7085 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.5802, allocations: 28.78 kB / 0.7085 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009524/0.5897, allocations: 3.206 MB / 0.7116 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.5898, allocations: 30.56 kB / 0.7116 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.755e-06/0.5898, allocations: 0 / 0.7116 GB, free: 12.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03462/0.6245, allocations: 14.25 MB / 0.7256 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.6245, allocations: 55.36 kB / 0.7256 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.6246, allocations: 97.86 kB / 0.7257 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.6247, allocations: 25.7 kB / 0.7257 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.6247, allocations: 84.27 kB / 0.7258 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.6248, allocations: 39.45 kB / 0.7259 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.6248, allocations: 0 / 0.7259 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.625, allocations: 318.8 kB / 0.7262 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.625, allocations: 19.98 kB / 0.7262 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.6251, allocations: 27.23 kB / 0.7262 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.6252, allocations: 31.94 kB / 0.7262 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6252, allocations: 0 / 0.7262 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002374/0.6254, allocations: 101.6 kB / 0.7263 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6255, allocations: 8 kB / 0.7263 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6255, allocations: 0 / 0.7263 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.6255, allocations: 0 / 0.7263 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.6256, allocations: 24 kB / 0.7264 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.6256, allocations: 11.94 kB / 0.7264 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.6257, allocations: 0 / 0.7264 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.6257, allocations: 11.94 kB / 0.7264 GB, free: 13.12 MB / 0.5606 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.0001153/0.6258, allocations: 115.3 kB / 0.7265 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.6259, allocations: 4 kB / 0.7265 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.6262, allocations: 129.4 kB / 0.7266 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.6262, allocations: 0 / 0.7266 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6262, allocations: 0 / 0.7266 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6262, allocations: 7.938 kB / 0.7266 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.6264, allocations: 173.6 kB / 0.7268 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6264, allocations: 0 / 0.7268 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.6265, allocations: 35.92 kB / 0.7268 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6265, allocations: 0 / 0.7268 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.6266, allocations: 4 kB / 0.7268 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6266, allocations: 0 / 0.7268 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6266, allocations: 0 / 0.7268 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.6269, allocations: 153 kB / 0.727 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.627, allocations: 89.05 kB / 0.7271 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.627, allocations: 4 kB / 0.7271 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.6271, allocations: 23.98 kB / 0.7271 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.6272, allocations: 11.98 kB / 0.7271 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.6272, allocations: 7.938 kB / 0.7271 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.6273, allocations: 75.28 kB / 0.7272 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6273, allocations: 0 / 0.7272 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001946/0.6292, allocations: 0.5741 MB / 0.7277 GB, free: 11.62 MB / 0.5606 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.004249/0.6335, allocations: 0.9364 MB / 0.7287 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.6337, allocations: 71.08 kB / 0.7287 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.6337, allocations: 0 / 0.7287 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.6338, allocations: 35.92 kB / 0.7288 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.634, allocations: 8 kB / 0.7288 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.6358, allocations: 0.7609 MB / 0.7295 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.6361, allocations: 0.6887 MB / 0.7302 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000107/0.6363, allocations: 24.55 kB / 0.7302 GB, free: 9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.6363, allocations: 23.48 kB / 0.7302 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.6363, allocations: 0 / 0.7302 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05481/0.6911, allocations: 26.62 MB / 0.7562 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.6914, allocations: 162.6 kB / 0.7564 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.217, allocations: 0 / 0.7564 GB, free: 14.3 MB / 0.5919 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/linux/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) Environment - environmentSimulation: