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.00531/0.00531, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001165/0.001165, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8203/0.8203, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 65.7 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1704, allocations: 80.21 MB / 0.6592 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002597/0.1731, allocations: 1.26 MB / 0.6604 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5655/0.7386, allocations: 137.7 MB / 0.7949 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.7387, allocations: 1.156 kB / 0.7949 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.7388, allocations: 0 / 0.7949 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.7388, allocations: 10.94 kB / 0.7949 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.7402, allocations: 464.8 kB / 0.7953 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.7403, allocations: 41.5 kB / 0.7954 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.7403, allocations: 4.531 kB / 0.7954 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.7404, allocations: 24.59 kB / 0.7954 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.163e-05/0.7405, allocations: 18.14 kB / 0.7954 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.7405, allocations: 6.312 kB / 0.7954 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.742, allocations: 0.8298 MB / 0.7962 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.742, allocations: 5.594 kB / 0.7962 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.742, allocations: 24 kB / 0.7963 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.7426, allocations: 450.8 kB / 0.7967 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7427, allocations: 0 / 0.7967 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7427, allocations: 0 / 0.7967 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.7427, allocations: 1.375 kB / 0.7967 GB, free: 13.06 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.0005064/0.7432, allocations: 365.2 kB / 0.797 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7432, allocations: 9.625 kB / 0.797 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.7433, allocations: 35.69 kB / 0.7971 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.7435, allocations: 14.3 kB / 0.7971 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.7436, allocations: 165.8 kB / 0.7973 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.7436, allocations: 7.812 kB / 0.7973 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.7436, allocations: 10 kB / 0.7973 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.7438, allocations: 55.36 kB / 0.7973 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7438, allocations: 0 / 0.7973 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.7438, allocations: 5.359 kB / 0.7973 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.7438, allocations: 1.375 kB / 0.7973 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.219e-05/0.7439, allocations: 18.3 kB / 0.7973 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.7441, allocations: 172.3 kB / 0.7975 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.7442, allocations: 51.33 kB / 0.7976 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.7442, allocations: 31.89 kB / 0.7976 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.7549, allocations: 3.196 MB / 0.8007 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.755, allocations: 37.45 kB / 0.8007 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.755, allocations: 0 / 0.8007 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03814/0.7931, allocations: 15 MB / 0.8154 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.7932, allocations: 53.97 kB / 0.8154 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.7933, allocations: 93.84 kB / 0.8155 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.7933, allocations: 35.36 kB / 0.8156 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.7934, allocations: 80.14 kB / 0.8156 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.7934, allocations: 47.77 kB / 0.8157 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.7935, allocations: 26.72 kB / 0.8157 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7936, allocations: 322.3 kB / 0.816 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.7936, allocations: 21.59 kB / 0.816 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/0.7937, allocations: 27.45 kB / 0.8161 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.7938, allocations: 63.59 kB / 0.8161 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.7938, allocations: 4 kB / 0.8161 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001995/0.794, allocations: 97.97 kB / 0.8162 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.794, allocations: 5.781 kB / 0.8162 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7941, allocations: 0 / 0.8162 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7941, allocations: 2.312 kB / 0.8162 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.7942, allocations: 28.23 kB / 0.8163 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7942, allocations: 0 / 0.8163 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.703e-05/0.7942, allocations: 3.688 kB / 0.8163 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.7943, allocations: 8.875 kB / 0.8163 GB, free: 6.207 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 9.598e-05/0.7944, allocations: 127.2 kB / 0.8164 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.7944, allocations: 6.531 kB / 0.8164 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.7947, allocations: 123.7 kB / 0.8165 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7947, allocations: 6.312 kB / 0.8165 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7947, allocations: 0 / 0.8165 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7947, allocations: 0 / 0.8165 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.7949, allocations: 182.1 kB / 0.8167 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7949, allocations: 4 kB / 0.8167 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.795, allocations: 23.7 kB / 0.8167 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.795, allocations: 0 / 0.8167 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.795, allocations: 5.906 kB / 0.8167 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.795, allocations: 0 / 0.8167 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.795, allocations: 0 / 0.8167 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.7953, allocations: 159.5 kB / 0.8169 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.7954, allocations: 85.89 kB / 0.817 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.7954, allocations: 7.312 kB / 0.817 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.7956, allocations: 14.11 kB / 0.817 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.7956, allocations: 10.3 kB / 0.817 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.7956, allocations: 5.031 kB / 0.817 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.7957, allocations: 75.28 kB / 0.8171 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7957, allocations: 0 / 0.8171 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001736/0.7974, allocations: 0.5688 MB / 0.8176 GB, free: 5.504 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.003152/0.8006, allocations: 0.9462 MB / 0.8186 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.8007, allocations: 64.38 kB / 0.8186 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8007, allocations: 0 / 0.8186 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.8008, allocations: 39.73 kB / 0.8187 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.801, allocations: 6.781 kB / 0.8187 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.803, allocations: 1.547 MB / 0.8202 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.8032, allocations: 0.6891 MB / 0.8208 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.569e-05/0.8033, allocations: 23.23 kB / 0.8209 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.8033, allocations: 19.3 kB / 0.8209 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.8033, allocations: 0 / 0.8209 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05472/0.8581, allocations: 25.45 MB / 0.8457 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/9.026, allocations: 0 / 0.8457 GB, free: 9.523 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)