Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.001139/0.001139, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001154/0.001154, 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.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.215 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.9797/0.9797, allocations: 175.7 MB / 480.1 MB, free: 2.828 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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 72.92 kB / 0.6678 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 94.53 MB / 0.7601 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5378/0.6899, allocations: 243.4 MB / 0.9978 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.703, allocations: 8.462 MB / 1.006 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.7047, allocations: 71.5 kB / 1.006 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.707, allocations: 1.068 MB / 1.007 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006829/0.7139, allocations: 3.186 MB / 1.01 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007446/0.7213, allocations: 3.615 MB / 1.014 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004868/0.7262, allocations: 3.999 MB / 1.018 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.7278, allocations: 1.129 MB / 1.019 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004125/0.7319, allocations: 2.297 MB / 1.021 GB, free: 14.54 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.7339, allocations: 1.471 MB / 1.022 GB, free: 13.06 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.7341, allocations: 132 kB / 1.023 GB, free: 12.93 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007244/0.7413, allocations: 4.181 MB / 1.027 GB, free: 8.738 MB / 0.7638 GB Notification: Performance of NFScalarize.scalarize: time 0.0006944/0.742, allocations: 0.6267 MB / 1.027 GB, free: 8.109 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.7432, allocations: 0.9948 MB / 1.028 GB, free: 7.109 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.006295/0.7495, allocations: 3.92 MB / 1.032 GB, free: 3.18 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.7495, allocations: 4 kB / 1.032 GB, free: 3.176 MB / 0.7638 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7495, allocations: 4 kB / 1.032 GB, free: 3.172 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 2.575e-05/0.7495, allocations: 0 / 1.032 GB, free: 3.172 MB / 0.7638 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005895/0.7554, allocations: 2.723 MB / 1.035 GB, free: 388 kB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.7554, allocations: 12.03 kB / 1.035 GB, free: 376 kB / 0.7638 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.7557, allocations: 198.5 kB / 1.035 GB, free: 168 kB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008227/0.7639, allocations: 1.34 MB / 1.036 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.7661, allocations: 1.287 MB / 1.038 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.7662, allocations: 102.6 kB / 1.038 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.7664, allocations: 139.9 kB / 1.038 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004387/0.7708, allocations: 2.074 MB / 1.04 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.7708, allocations: 3.938 kB / 1.04 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.771, allocations: 56 kB / 1.04 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.976e-05/0.7711, allocations: 66.45 kB / 1.04 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005829/0.7769, allocations: 2.172 MB / 1.042 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.788, allocations: 8.393 MB / 1.05 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/0.7928, allocations: 1.807 MB / 1.052 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/0.7952, allocations: 0.9338 MB / 1.053 GB, free: 13.07 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.7965, allocations: 0.9491 MB / 1.054 GB, free: 11.93 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00266/0.7992, allocations: 1.063 MB / 1.055 GB, free: 10.86 MB / 0.795 GB Notification: Performance of pre-optimization done (n=119): time 2.916e-06/0.7992, allocations: 0 / 1.055 GB, free: 10.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=119): time 0.008302/0.8075, allocations: 2.884 MB / 1.058 GB, free: 7.965 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.8075, allocations: 64.41 kB / 1.058 GB, free: 7.887 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.8096, allocations: 1.619 MB / 1.059 GB, free: 6.266 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.8097, allocations: 49.7 kB / 1.059 GB, free: 6.211 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.8103, allocations: 0.8054 MB / 1.06 GB, free: 5.398 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.8107, allocations: 432.3 kB / 1.061 GB, free: 4.973 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/0.8111, allocations: 242.9 kB / 1.061 GB, free: 4.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8113, allocations: 353.9 kB / 1.061 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.8136, allocations: 0.8261 MB / 1.062 GB, free: 3.551 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/0.8162, allocations: 1.135 MB / 1.063 GB, free: 2.301 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/0.8211, allocations: 1.926 MB / 1.065 GB, free: 276 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.8211, allocations: 4 kB / 1.065 GB, free: 272 kB / 0.795 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00561/0.8267, allocations: 2.198 MB / 1.067 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.8267, allocations: 12 kB / 1.067 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.8267, allocations: 8 kB / 1.067 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.8268, allocations: 12 kB / 1.067 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.8288, allocations: 411.9 kB / 1.068 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.8288, allocations: 23.92 kB / 1.068 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.8306, allocations: 282.6 kB / 1.068 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.8307, allocations: 63.97 kB / 1.068 GB, free: 13.26 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0006357/0.8314, allocations: 395.5 kB / 1.068 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.8317, allocations: 206.7 kB / 1.068 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005772/0.8374, allocations: 2.181 MB / 1.071 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.8374, allocations: 15.94 kB / 1.071 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8375, allocations: 0 / 1.071 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.8375, allocations: 3.984 kB / 1.071 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008905/0.8464, allocations: 4.49 MB / 1.075 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.8464, allocations: 11.94 kB / 1.075 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/0.8482, allocations: 340.3 kB / 1.075 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.8483, allocations: 12 kB / 1.075 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.8484, allocations: 44.52 kB / 1.075 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.651e-05/0.8484, allocations: 15.94 kB / 1.075 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.8484, allocations: 15.88 kB / 1.075 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008106/0.8565, allocations: 3.459 MB / 1.079 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/0.8572, allocations: 419.4 kB / 1.079 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.8574, allocations: 32 kB / 1.079 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.8591, allocations: 171.8 kB / 1.079 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.8592, allocations: 96.7 kB / 1.079 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.8593, allocations: 51.97 kB / 1.08 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001478/0.8608, allocations: 1.11 MB / 1.081 GB, free: 15.95 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8608, allocations: 0 / 1.081 GB, free: 15.95 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.001513/0.8623, allocations: 499.4 kB / 1.081 GB, free: 15.46 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (122): * Single equations (assignments): 116 * 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.01145/0.8738, allocations: 4.519 MB / 1.085 GB, free: 11 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0056/0.8794, allocations: 1.895 MB / 1.087 GB, free: 9.109 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.8794, allocations: 0 / 1.087 GB, free: 9.109 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.002705/0.8821, allocations: 0.9752 MB / 1.088 GB, free: 8.137 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/0.8862, allocations: 0.9604 MB / 1.089 GB, free: 7.195 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03409/0.9203, allocations: 16.01 MB / 1.105 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.9214, allocations: 1.38 MB / 1.106 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001732/0.9231, allocations: 482.8 kB / 1.107 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.9242, allocations: 0.7296 MB / 1.107 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of SimCode: time 7.12e-07/0.9242, allocations: 0 / 1.107 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0949/1.019, allocations: 51.12 MB / 1.157 GB, free: 1.328 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/18.62, allocations: 3.938 kB / 1.157 GB, free: 1.324 MB / 0.8888 GB " [Timeout remaining time 641] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.173678095001378]