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.001507/0.001507, allocations: 103.2 kB / 16.45 MB, free: 6.445 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.001516/0.001516, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 3.762 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 1.091/1.091, allocations: 175.7 MB / 478.4 MB, free: 3.426 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.001925/0.001925, allocations: 69.11 kB / 0.6652 GB, free: 11.18 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1885, allocations: 94.55 MB / 0.7576 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.7846/0.9731, allocations: 242.6 MB / 0.9945 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.9909, allocations: 8.428 MB / 1.003 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.9937, allocations: 67.56 kB / 1.003 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0035/0.9972, allocations: 1.08 MB / 1.004 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009776/1.007, allocations: 3.185 MB / 1.007 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01027/1.017, allocations: 3.594 MB / 1.011 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007085/1.024, allocations: 3.913 MB / 1.014 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/1.027, allocations: 1.143 MB / 1.015 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005651/1.032, allocations: 2.262 MB / 1.018 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/1.035, allocations: 1.447 MB / 1.019 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004701/1.036, allocations: 128 kB / 1.019 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008785/1.045, allocations: 4.169 MB / 1.023 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/1.046, allocations: 0.6112 MB / 1.024 GB, free: 9.594 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002436/1.048, allocations: 0.9908 MB / 1.025 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/1.06, allocations: 3.868 MB / 1.029 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.06, allocations: 0 / 1.029 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.655e-06/1.06, allocations: 0 / 1.029 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.000148/1.06, allocations: 0 / 1.029 GB, free: 4.719 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.008117/1.068, allocations: 2.71 MB / 1.031 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.068, allocations: 8.031 kB / 1.031 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002597/1.068, allocations: 194.4 kB / 1.031 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007454/1.076, allocations: 1.134 MB / 1.033 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/1.079, allocations: 1.283 MB / 1.034 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.079, allocations: 98.56 kB / 1.034 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/1.079, allocations: 131.9 kB / 1.034 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/1.084, allocations: 1.956 MB / 1.036 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/1.084, allocations: 7.938 kB / 1.036 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/1.084, allocations: 52 kB / 1.036 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.174e-05/1.084, allocations: 62.34 kB / 1.036 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/1.089, allocations: 1.89 MB / 1.038 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/1.103, allocations: 8.68 MB / 1.046 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/1.107, allocations: 1.451 MB / 1.048 GB, free: 212 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/1.109, allocations: 0.7458 MB / 1.049 GB, free: 15.45 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/1.11, allocations: 0.9492 MB / 1.049 GB, free: 14.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002304/1.113, allocations: 0.8793 MB / 1.05 GB, free: 13.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=106): time 3.997e-06/1.113, allocations: 0 / 1.05 GB, free: 13.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=106): time 0.007213/1.12, allocations: 2.392 MB / 1.053 GB, free: 11.03 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/1.12, allocations: 64.41 kB / 1.053 GB, free: 10.96 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/1.123, allocations: 1.71 MB / 1.054 GB, free: 9.199 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/1.123, allocations: 49.69 kB / 1.054 GB, free: 9.145 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008409/1.124, allocations: 0.8286 MB / 1.055 GB, free: 8.309 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/1.124, allocations: 384.7 kB / 1.056 GB, free: 7.93 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/1.125, allocations: 246.7 kB / 1.056 GB, free: 7.684 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.125, allocations: 361.9 kB / 1.056 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/1.127, allocations: 0.6661 MB / 1.057 GB, free: 6.656 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/1.129, allocations: 1.049 MB / 1.058 GB, free: 5.457 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/1.133, allocations: 1.714 MB / 1.06 GB, free: 3.594 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.133, allocations: 8 kB / 1.06 GB, free: 3.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005067/1.138, allocations: 1.932 MB / 1.061 GB, free: 1.648 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.138, allocations: 8.969 kB / 1.061 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/1.138, allocations: 12.88 kB / 1.061 GB, free: 1.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/1.138, allocations: 20 kB / 1.061 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.14, allocations: 359.4 kB / 1.062 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-05/1.14, allocations: 23.94 kB / 1.062 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.142, allocations: 258.6 kB / 1.062 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/1.142, allocations: 67.97 kB / 1.062 GB, free: 0.9141 MB / 0.795 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.0009038/1.143, allocations: 407.4 kB / 1.063 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005441/1.144, allocations: 198.7 kB / 1.063 GB, free: 320 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/1.149, allocations: 1.809 MB / 1.064 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/1.149, allocations: 12 kB / 1.064 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.149, allocations: 0 / 1.064 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.149, allocations: 3.984 kB / 1.064 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009209/1.158, allocations: 3.982 MB / 1.068 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/1.158, allocations: 6.562 kB / 1.068 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/1.159, allocations: 275.8 kB / 1.069 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-05/1.159, allocations: 12 kB / 1.069 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.16, allocations: 43.91 kB / 1.069 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-05/1.16, allocations: 12 kB / 1.069 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.16, allocations: 11.94 kB / 1.069 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006869/1.166, allocations: 2.927 MB / 1.072 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.168, allocations: 399.4 kB / 1.072 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000474/1.168, allocations: 31.98 kB / 1.072 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/1.17, allocations: 123.9 kB / 1.072 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/1.17, allocations: 80.44 kB / 1.072 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.17, allocations: 47.97 kB / 1.072 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002109/1.172, allocations: 1.179 MB / 1.073 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.1e-08/1.172, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001791/1.174, allocations: 467.5 kB / 1.074 GB, free: 4.613 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 (106): * Single equations (assignments): 100 * 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.008955/1.183, allocations: 3.954 MB / 1.078 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004314/1.187, allocations: 1.589 MB / 1.079 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.187, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002065/1.189, allocations: 0.7898 MB / 1.08 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/1.194, allocations: 0.9693 MB / 1.081 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03048/1.225, allocations: 14.67 MB / 1.095 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/1.226, allocations: 1.368 MB / 1.097 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002315/1.229, allocations: 467 kB / 1.097 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.23, allocations: 0.7179 MB / 1.098 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of SimCode: time 1.873e-06/1.23, allocations: 0 / 1.098 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/1.344, allocations: 50.66 MB / 1.147 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.31, allocations: 9.438 kB / 1.147 GB, free: 9.332 MB / 0.8887 GB " [Timeout remaining time 646] (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 --stepSize=0.48 --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: 18.469499466009438] Failed to read output from testmodel.py, exit status != 0: 14.468259121757 14.493727749 13.428897773 Calling exit ...