Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001423/0.001423, allocations: 105.7 kB / 17.54 MB, free: 4.742 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.001435/0.001435, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] 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.9981/0.9981, allocations: 175.7 MB / 480.1 MB, free: 3.137 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_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 68.27 kB / 0.6678 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.156, allocations: 94.53 MB / 0.7601 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5624/0.7183, allocations: 243.4 MB / 0.9978 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.7317, allocations: 8.453 MB / 1.006 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.7331, allocations: 67.56 kB / 1.006 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.7353, allocations: 1.08 MB / 1.007 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006717/0.742, allocations: 3.185 MB / 1.01 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007454/0.7495, allocations: 3.605 MB / 1.014 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00484/0.7543, allocations: 3.925 MB / 1.018 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.7558, allocations: 1.088 MB / 1.019 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.7599, allocations: 2.277 MB / 1.021 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.7617, allocations: 1.432 MB / 1.022 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.7619, allocations: 128 kB / 1.022 GB, free: 13 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006953/0.7689, allocations: 4.169 MB / 1.026 GB, free: 8.82 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006079/0.7695, allocations: 0.6034 MB / 1.027 GB, free: 8.215 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.7705, allocations: 0.9831 MB / 1.028 GB, free: 7.227 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.7761, allocations: 3.854 MB / 1.032 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7761, allocations: 0 / 1.032 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7761, allocations: 0 / 1.032 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.7761, allocations: 0 / 1.032 GB, free: 3.363 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.005588/0.7817, allocations: 2.71 MB / 1.034 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.7818, allocations: 8.031 kB / 1.034 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.782, allocations: 194.3 kB / 1.035 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006543/0.7885, allocations: 1.095 MB / 1.036 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.7906, allocations: 1.267 MB / 1.037 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.7907, allocations: 98.56 kB / 1.037 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.7909, allocations: 135.9 kB / 1.037 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.7946, allocations: 1.972 MB / 1.039 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.7946, allocations: 3.938 kB / 1.039 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.7948, allocations: 56 kB / 1.039 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.122e-05/0.7948, allocations: 66.28 kB / 1.039 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00447/0.7993, allocations: 1.874 MB / 1.041 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.8099, allocations: 9.175 MB / 1.05 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004047/0.814, allocations: 1.546 MB / 1.052 GB, free: 14.24 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.8158, allocations: 0.7485 MB / 1.052 GB, free: 13.49 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008663/0.8167, allocations: 0.5854 MB / 1.053 GB, free: 12.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/0.8187, allocations: 0.8769 MB / 1.054 GB, free: 11.91 MB / 0.795 GB Notification: Performance of pre-optimization done (n=104): time 2.725e-06/0.8187, allocations: 0 / 1.054 GB, free: 11.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=104): time 0.006232/0.8249, allocations: 2.318 MB / 1.056 GB, free: 9.582 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.825, allocations: 60.41 kB / 1.056 GB, free: 9.512 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.827, allocations: 1.665 MB / 1.058 GB, free: 7.848 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/0.8271, allocations: 49.7 kB / 1.058 GB, free: 7.793 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.8278, allocations: 0.8439 MB / 1.059 GB, free: 6.941 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.8281, allocations: 380.8 kB / 1.059 GB, free: 6.566 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.8285, allocations: 238.8 kB / 1.059 GB, free: 6.328 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.8287, allocations: 357.9 kB / 1.059 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.8304, allocations: 0.6583 MB / 1.06 GB, free: 5.312 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.8325, allocations: 1.055 MB / 1.061 GB, free: 4.102 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/0.8363, allocations: 1.719 MB / 1.063 GB, free: 2.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8363, allocations: 0 / 1.063 GB, free: 2.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004422/0.8407, allocations: 1.917 MB / 1.065 GB, free: 312 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.8408, allocations: 15.94 kB / 1.065 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.8408, allocations: 12 kB / 1.065 GB, free: 284 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.8408, allocations: 16 kB / 1.065 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.8425, allocations: 364.1 kB / 1.065 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/0.8425, allocations: 23.92 kB / 1.065 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.844, allocations: 259.5 kB / 1.065 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.8441, allocations: 65.8 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: 49 * 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.0006155/0.8448, allocations: 399.6 kB / 1.066 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.845, allocations: 194.7 kB / 1.066 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004405/0.8494, allocations: 1.813 MB / 1.068 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.8494, allocations: 8 kB / 1.068 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8494, allocations: 3.984 kB / 1.068 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.8495, allocations: 7.922 kB / 1.068 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007215/0.8567, allocations: 3.964 MB / 1.072 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.8567, allocations: 8 kB / 1.072 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.8581, allocations: 263.6 kB / 1.072 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.8581, allocations: 15.98 kB / 1.072 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.8582, allocations: 35.98 kB / 1.072 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/0.8582, allocations: 22.42 kB / 1.072 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/0.8582, allocations: 11.94 kB / 1.072 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006209/0.8645, allocations: 2.888 MB / 1.075 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005816/0.865, allocations: 391.5 kB / 1.075 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.8652, allocations: 28 kB / 1.075 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.8665, allocations: 123.8 kB / 1.075 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.8667, allocations: 88.44 kB / 1.075 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.8668, allocations: 43.97 kB / 1.075 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001438/0.8682, allocations: 1.131 MB / 1.077 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8682, allocations: 8 kB / 1.077 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001212/0.8694, allocations: 475.4 kB / 1.077 GB, free: 3.418 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (107): * Single equations (assignments): 101 * 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.008154/0.8776, allocations: 3.935 MB / 1.081 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00399/0.8816, allocations: 1.569 MB / 1.082 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8816, allocations: 0 / 1.082 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.8835, allocations: 0.7742 MB / 1.083 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/0.8872, allocations: 0.9263 MB / 1.084 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/0.9151, allocations: 14.95 MB / 1.099 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009682/0.9161, allocations: 1.374 MB / 1.1 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001547/0.9176, allocations: 454.6 kB / 1.1 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009992/0.9186, allocations: 0.7101 MB / 1.101 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of SimCode: time 6.31e-07/0.9186, allocations: 4 kB / 1.101 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08296/1.002, allocations: 49.34 MB / 1.149 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/18.67, allocations: 3.938 kB / 1.149 GB, free: 9.215 MB / 0.8887 GB " [Timeout remaining time 641] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.27752221999981]