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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 217.8 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8686/0.8686, allocations: 134 MB / 447.2 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 61.59 kB / 0.6193 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1748, allocations: 85.91 MB / 0.7032 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002404/0.1772, allocations: 1.283 MB / 0.7044 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5691/0.7464, allocations: 141 MB / 0.8421 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.7464, allocations: 0 / 0.8421 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.7464, allocations: 2.688 kB / 0.8421 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.7465, allocations: 3.938 kB / 0.8421 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.7479, allocations: 485.9 kB / 0.8426 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.341e-05/0.748, allocations: 40.38 kB / 0.8427 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.748, allocations: 3.984 kB / 0.8427 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.7481, allocations: 24.39 kB / 0.8427 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.7482, allocations: 19.56 kB / 0.8427 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.7482, allocations: 0 / 0.8427 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.7496, allocations: 0.8363 MB / 0.8435 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.7497, allocations: 10.3 kB / 0.8435 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.7497, allocations: 19.67 kB / 0.8435 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.7503, allocations: 453.4 kB / 0.844 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7503, allocations: 1.969 kB / 0.844 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7503, allocations: 4 kB / 0.844 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7503, allocations: 0 / 0.844 GB, free: 5.414 MB / 0.6075 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.0005139/0.7508, allocations: 296.8 kB / 0.8443 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.7508, allocations: 9.969 kB / 0.8443 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.887e-05/0.7509, allocations: 192 / 0.8443 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.7509, allocations: 37.28 kB / 0.8443 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.7511, allocations: 12.75 kB / 0.8443 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.7512, allocations: 112.6 kB / 0.8444 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.7512, allocations: 10.84 kB / 0.8444 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.7512, allocations: 10.7 kB / 0.8444 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.7514, allocations: 62.45 kB / 0.8445 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7514, allocations: 0 / 0.8445 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.7514, allocations: 0 / 0.8445 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.7514, allocations: 2.781 kB / 0.8445 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.7515, allocations: 17.48 kB / 0.8445 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.7517, allocations: 136.5 kB / 0.8447 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.7518, allocations: 58.73 kB / 0.8447 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.7518, allocations: 9.609 kB / 0.8447 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.7633, allocations: 2.859 MB / 0.8475 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.7634, allocations: 38.55 kB / 0.8476 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.7634, allocations: 1.969 kB / 0.8476 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.04373/0.8071, allocations: 14.92 MB / 0.8621 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.8072, allocations: 55.41 kB / 0.8622 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.8072, allocations: 89.86 kB / 0.8623 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.8073, allocations: 29.7 kB / 0.8623 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.8073, allocations: 84.12 kB / 0.8624 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.8074, allocations: 47.77 kB / 0.8624 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.8074, allocations: 29.7 kB / 0.8624 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.8076, allocations: 322.8 kB / 0.8628 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.8076, allocations: 23.98 kB / 0.8628 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.8077, allocations: 27.23 kB / 0.8628 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.8078, allocations: 68.78 kB / 0.8629 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.8078, allocations: 0 / 0.8629 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002173/0.808, allocations: 93.69 kB / 0.863 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.808, allocations: 4 kB / 0.863 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.808, allocations: 4 kB / 0.863 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.808, allocations: 7.938 kB / 0.863 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.8082, allocations: 27.98 kB / 0.863 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.8082, allocations: 3.938 kB / 0.863 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.8082, allocations: 0 / 0.863 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.8082, allocations: 8 kB / 0.863 GB, free: 2.57 MB / 0.6231 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.619e-05/0.8083, allocations: 117.8 kB / 0.8631 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.8084, allocations: 7.891 kB / 0.8631 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.8087, allocations: 125.5 kB / 0.8633 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.8087, allocations: 0 / 0.8633 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8087, allocations: 4 kB / 0.8633 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8087, allocations: 3.938 kB / 0.8633 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.8088, allocations: 144.7 kB / 0.8634 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.8088, allocations: 0 / 0.8634 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.809, allocations: 27.98 kB / 0.8634 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.809, allocations: 4 kB / 0.8634 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.809, allocations: 0 / 0.8634 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.809, allocations: 4 kB / 0.8634 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.809, allocations: 0 / 0.8634 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.8093, allocations: 156.9 kB / 0.8636 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.8094, allocations: 15.98 kB / 0.8636 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.8094, allocations: 3.938 kB / 0.8636 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.8095, allocations: 19.64 kB / 0.8636 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.8095, allocations: 15.97 kB / 0.8636 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.8096, allocations: 4 kB / 0.8636 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.8096, allocations: 79.22 kB / 0.8637 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.8096, allocations: 0 / 0.8637 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001886/0.8115, allocations: 0.5699 MB / 0.8643 GB, free: 1.207 MB / 0.6231 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.003659/0.8151, allocations: 0.9362 MB / 0.8652 GB, free: 248 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.8153, allocations: 71.08 kB / 0.8653 GB, free: 180 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8153, allocations: 3.938 kB / 0.8653 GB, free: 176 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.8154, allocations: 31.92 kB / 0.8653 GB, free: 144 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.8156, allocations: 8 kB / 0.8653 GB, free: 136 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.8181, allocations: 1.558 MB / 0.8668 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.8184, allocations: 0.6846 MB / 0.8675 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.492e-05/0.8185, allocations: 24.53 kB / 0.8675 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.8186, allocations: 27.44 kB / 0.8675 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.8186, allocations: 0 / 0.8675 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0588/0.8774, allocations: 25.66 MB / 0.8926 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.86, allocations: 6.297 kB / 0.8926 GB, free: 4.215 MB / 0.6544 GB " [Timeout remaining time 647] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.538852859986946] Failed to read output from testmodel.py, exit status != 0: 13.02768840698991 13.046001989 12.291545986 Calling exit ...