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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9773/0.9773, allocations: 175.7 MB / 480.1 MB, free: 2.75 MB / 366.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-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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 71.14 kB / 0.6677 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1527, allocations: 94.53 MB / 0.76 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002095/0.1548, allocations: 1.258 MB / 0.7613 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.451/0.6058, allocations: 138.1 MB / 0.8961 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.814e-05/0.6058, allocations: 0 / 0.8961 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.6058, allocations: 3.938 kB / 0.8961 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.6058, allocations: 3.438 kB / 0.8962 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.6069, allocations: 467.9 kB / 0.8966 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.607, allocations: 40.97 kB / 0.8966 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.122e-05/0.607, allocations: 1.438 kB / 0.8966 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.607, allocations: 24 kB / 0.8967 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.6071, allocations: 24.36 kB / 0.8967 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.6071, allocations: 1.312 kB / 0.8967 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.6084, allocations: 0.8328 MB / 0.8975 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.6084, allocations: 7.203 kB / 0.8975 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.6084, allocations: 19.95 kB / 0.8975 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.6089, allocations: 445.7 kB / 0.898 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6089, allocations: 4 kB / 0.898 GB, free: 12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6089, allocations: 1.156 kB / 0.898 GB, free: 12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6089, allocations: 0 / 0.898 GB, free: 12 MB / 0.6544 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.000485/0.6094, allocations: 376.1 kB / 0.8983 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.6094, allocations: 9.656 kB / 0.8983 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.6095, allocations: 35.81 kB / 0.8984 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.6096, allocations: 11.8 kB / 0.8984 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.6097, allocations: 164.3 kB / 0.8985 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.6098, allocations: 3.469 kB / 0.8985 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.6098, allocations: 20.53 kB / 0.8985 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.6099, allocations: 61.27 kB / 0.8986 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.6099, allocations: 0 / 0.8986 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.6099, allocations: 0 / 0.8986 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.6099, allocations: 1.344 kB / 0.8986 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.239e-05/0.61, allocations: 17.56 kB / 0.8986 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.6102, allocations: 167.9 kB / 0.8988 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.6103, allocations: 49.38 kB / 0.8988 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.6103, allocations: 24.45 kB / 0.8989 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.6207, allocations: 3.208 MB / 0.902 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.6207, allocations: 31.94 kB / 0.902 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.6207, allocations: 0 / 0.902 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.03826/0.659, allocations: 14.99 MB / 0.9167 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.659, allocations: 57.59 kB / 0.9167 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.6591, allocations: 89.86 kB / 0.9168 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.6591, allocations: 32.52 kB / 0.9168 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.6591, allocations: 83.33 kB / 0.9169 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.6592, allocations: 50.23 kB / 0.917 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.6592, allocations: 34.23 kB / 0.917 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6593, allocations: 314.8 kB / 0.9173 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.6594, allocations: 23.73 kB / 0.9173 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.734e-05/0.6594, allocations: 25.67 kB / 0.9173 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.6595, allocations: 67.55 kB / 0.9174 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6595, allocations: 0.875 kB / 0.9174 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001878/0.6597, allocations: 100.6 kB / 0.9175 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6597, allocations: 5.531 kB / 0.9175 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6597, allocations: 6.375 kB / 0.9175 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6597, allocations: 0 / 0.9175 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.6598, allocations: 28.11 kB / 0.9175 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6599, allocations: 3.938 kB / 0.9175 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.6599, allocations: 0 / 0.9175 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.6599, allocations: 15.31 kB / 0.9176 GB, free: 4.727 MB / 0.6544 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 8.129e-05/0.66, allocations: 115.9 kB / 0.9177 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.66, allocations: 6.391 kB / 0.9177 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.6602, allocations: 123.6 kB / 0.9178 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.6602, allocations: 3.062 kB / 0.9178 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6603, allocations: 3.938 kB / 0.9178 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6603, allocations: 3.984 kB / 0.9178 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.6604, allocations: 177.1 kB / 0.918 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6604, allocations: 2.781 kB / 0.918 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.6605, allocations: 23.47 kB / 0.918 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.6605, allocations: 7.984 kB / 0.918 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.6605, allocations: 0 / 0.918 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6605, allocations: 2.781 kB / 0.918 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6605, allocations: 0 / 0.918 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.6608, allocations: 154.9 kB / 0.9182 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.6608, allocations: 95.08 kB / 0.9182 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.6609, allocations: 2.812 kB / 0.9182 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.661, allocations: 15 kB / 0.9183 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.661, allocations: 6.734 kB / 0.9183 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.661, allocations: 8.25 kB / 0.9183 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.6611, allocations: 79.27 kB / 0.9184 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6611, allocations: 2.062 kB / 0.9184 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001491/0.6625, allocations: 0.5614 MB / 0.9189 GB, free: 4.023 MB / 0.6544 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.003106/0.6656, allocations: 0.9511 MB / 0.9198 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.6658, allocations: 57.73 kB / 0.9199 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6658, allocations: 3.984 kB / 0.9199 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.6659, allocations: 30.81 kB / 0.9199 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.666, allocations: 15.73 kB / 0.9199 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.668, allocations: 1.539 MB / 0.9214 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.6683, allocations: 0.6846 MB / 0.9221 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.204e-05/0.6684, allocations: 24.55 kB / 0.9221 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.6684, allocations: 26.31 kB / 0.9222 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.6684, allocations: 0 / 0.9222 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05538/0.7238, allocations: 25.44 MB / 0.947 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.531, allocations: 4.062 kB / 0.947 GB, free: 7.555 MB / 0.6856 GB " [Timeout remaining time 651] (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/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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.14648707098968]