Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001396/0.001396, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001387/0.001387, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.172 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.9878/0.9878, allocations: 175.7 MB / 480.1 MB, free: 2.82 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.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 68.42 kB / 0.6678 GB, free: 10.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1597, allocations: 94.53 MB / 0.7601 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5676/0.7274, allocations: 243.4 MB / 0.9978 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.7409, allocations: 8.469 MB / 1.006 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.7429, allocations: 67.56 kB / 1.006 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.7454, allocations: 1.076 MB / 1.007 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.7531, allocations: 3.189 MB / 1.01 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008522/0.7616, allocations: 3.608 MB / 1.014 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006385/0.768, allocations: 3.921 MB / 1.018 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.7699, allocations: 1.076 MB / 1.019 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004825/0.7748, allocations: 2.269 MB / 1.021 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.7767, allocations: 1.448 MB / 1.022 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.7769, allocations: 128 kB / 1.022 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007573/0.7845, allocations: 4.173 MB / 1.026 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007132/0.7852, allocations: 0.6151 MB / 1.027 GB, free: 8.23 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/0.7864, allocations: 0.983 MB / 1.028 GB, free: 7.242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00685/0.7932, allocations: 3.869 MB / 1.032 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7932, allocations: 0 / 1.032 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7933, allocations: 0 / 1.032 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.34e-05/0.7933, allocations: 3.938 kB / 1.032 GB, free: 3.359 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005924/0.7992, allocations: 2.706 MB / 1.034 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.7992, allocations: 8.031 kB / 1.034 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000231/0.7995, allocations: 198.4 kB / 1.035 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00703/0.8065, allocations: 1.138 MB / 1.036 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.8086, allocations: 1.271 MB / 1.037 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.8087, allocations: 98.56 kB / 1.037 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.8089, allocations: 131.9 kB / 1.037 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/0.8127, allocations: 1.955 MB / 1.039 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.8127, allocations: 4 kB / 1.039 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.8128, allocations: 63.92 kB / 1.039 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.151e-05/0.8129, allocations: 66.34 kB / 1.039 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.8175, allocations: 1.883 MB / 1.041 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.8279, allocations: 8.676 MB / 1.05 GB, free: 316 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/0.8317, allocations: 1.449 MB / 1.051 GB, free: 14.86 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.8336, allocations: 0.7458 MB / 1.052 GB, free: 14.11 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.8349, allocations: 0.9531 MB / 1.053 GB, free: 12.97 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002024/0.8369, allocations: 0.8831 MB / 1.054 GB, free: 12.08 MB / 0.795 GB Notification: Performance of pre-optimization done (n=106): time 2.725e-06/0.8369, allocations: 0 / 1.054 GB, free: 12.08 MB / 0.795 GB Notification: Performance of matching and sorting (n=106): time 0.006631/0.8435, allocations: 2.392 MB / 1.056 GB, free: 9.676 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.8436, allocations: 68.41 kB / 1.056 GB, free: 9.598 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.8458, allocations: 1.706 MB / 1.058 GB, free: 7.844 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.8459, allocations: 53.64 kB / 1.058 GB, free: 7.785 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008246/0.8468, allocations: 0.8286 MB / 1.058 GB, free: 6.949 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/0.8472, allocations: 392.7 kB / 1.059 GB, free: 6.562 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.8476, allocations: 230.9 kB / 1.059 GB, free: 6.332 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.8478, allocations: 357.9 kB / 1.059 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.8497, allocations: 0.67 MB / 1.06 GB, free: 5.305 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.8518, allocations: 1.053 MB / 1.061 GB, free: 4.102 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/0.8557, allocations: 1.71 MB / 1.063 GB, free: 2.246 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.8557, allocations: 0 / 1.063 GB, free: 2.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004645/0.8604, allocations: 1.944 MB / 1.065 GB, free: 300 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.8604, allocations: 12 kB / 1.065 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.8604, allocations: 8.844 kB / 1.065 GB, free: 280 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/0.8605, allocations: 21.19 kB / 1.065 GB, free: 260 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.8622, allocations: 359.5 kB / 1.065 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-05/0.8622, allocations: 23.92 kB / 1.065 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.8638, allocations: 254.6 kB / 1.065 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.8639, allocations: 59.97 kB / 1.065 GB, free: 15.57 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * 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 0.0006902/0.8646, allocations: 411.4 kB / 1.066 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.8649, allocations: 198.7 kB / 1.066 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.8695, allocations: 1.842 MB / 1.068 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.8695, allocations: 12 kB / 1.068 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8695, allocations: 0 / 1.068 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.8695, allocations: 3.984 kB / 1.068 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007404/0.8769, allocations: 4.009 MB / 1.072 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.877, allocations: 4 kB / 1.072 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/0.8784, allocations: 279.7 kB / 1.072 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.8784, allocations: 12 kB / 1.072 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.211e-05/0.8785, allocations: 37.09 kB / 1.072 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/0.8786, allocations: 16 kB / 1.072 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/0.8786, allocations: 11.94 kB / 1.072 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/0.885, allocations: 2.951 MB / 1.075 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006267/0.8856, allocations: 403.4 kB / 1.075 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.8858, allocations: 32 kB / 1.075 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.8872, allocations: 119.9 kB / 1.075 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.8873, allocations: 88.44 kB / 1.076 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.8874, allocations: 44.47 kB / 1.076 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001545/0.889, allocations: 1.171 MB / 1.077 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.889, allocations: 0 / 1.077 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001239/0.8902, allocations: 467.5 kB / 1.077 GB, free: 3.188 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0083/0.8985, allocations: 3.981 MB / 1.081 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0041/0.9026, allocations: 1.593 MB / 1.083 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9026, allocations: 4 kB / 1.083 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.9046, allocations: 0.7898 MB / 1.083 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/0.9086, allocations: 0.981 MB / 1.084 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/0.9338, allocations: 14.69 MB / 1.099 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.9349, allocations: 1.364 MB / 1.1 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001649/0.9365, allocations: 475 kB / 1.1 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.9376, allocations: 0.7179 MB / 1.101 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of SimCode: time 1.052e-06/0.9376, allocations: 0 / 1.101 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09025/1.028, allocations: 50.89 MB / 1.151 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.73/18.76, allocations: 10.56 kB / 1.151 GB, free: 7.559 MB / 0.8887 GB " [Timeout remaining time 641] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.34103998899809]