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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007943/0.0007943, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009832/0.0009832, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9478/0.9478, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8019/0.8019, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 62.31 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.5553, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.192/0.7473, allocations: 214.7 MB / 1.028 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.7591, allocations: 8.063 MB / 1.035 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.7609, allocations: 95.12 kB / 1.035 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.763, allocations: 1.049 MB / 1.036 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005974/0.769, allocations: 3.228 MB / 1.04 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.006297/0.7753, allocations: 3.532 MB / 1.043 GB, free: 14.24 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003683/0.779, allocations: 3.96 MB / 1.047 GB, free: 10.26 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.7802, allocations: 1.089 MB / 1.048 GB, free: 9.137 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/0.7839, allocations: 2.332 MB / 1.05 GB, free: 6.797 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.7853, allocations: 1.373 MB / 1.052 GB, free: 5.418 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.7854, allocations: 128 kB / 1.052 GB, free: 5.293 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005096/0.7905, allocations: 3.183 MB / 1.055 GB, free: 2.102 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.791, allocations: 0.6268 MB / 1.055 GB, free: 1.473 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.7921, allocations: 0.8201 MB / 1.056 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005181/0.7973, allocations: 3.737 MB / 1.06 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7973, allocations: 0 / 1.06 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7973, allocations: 0 / 1.06 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.629e-05/0.7973, allocations: 0 / 1.06 GB, free: 12.9 MB / 0.8386 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.004052/0.8014, allocations: 2.647 MB / 1.063 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.8014, allocations: 8.031 kB / 1.063 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.8016, allocations: 194.4 kB / 1.063 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003924/0.8055, allocations: 1.146 MB / 1.064 GB, free: 8.848 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.807, allocations: 1.15 MB / 1.065 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.8071, allocations: 106.5 kB / 1.065 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.8072, allocations: 128 kB / 1.065 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.8096, allocations: 1.967 MB / 1.067 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.8096, allocations: 7.938 kB / 1.067 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.8097, allocations: 52 kB / 1.067 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/0.8097, allocations: 58.34 kB / 1.067 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.8124, allocations: 1.906 MB / 1.069 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006123/0.8185, allocations: 6.797 MB / 1.076 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.821, allocations: 1.461 MB / 1.077 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.8221, allocations: 0.7493 MB / 1.078 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005056/0.8226, allocations: 196.8 kB / 1.078 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.8238, allocations: 0.8872 MB / 1.079 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=106): time 2.665e-06/0.8238, allocations: 4 kB / 1.079 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of matching and sorting (n=106): time 0.003864/0.8276, allocations: 2.412 MB / 1.081 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.8277, allocations: 64.41 kB / 1.081 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.8292, allocations: 1.781 MB / 1.083 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.623e-05/0.8293, allocations: 49.69 kB / 1.083 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/0.8298, allocations: 0.8404 MB / 1.084 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.8302, allocations: 396.7 kB / 1.084 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.8304, allocations: 238.8 kB / 1.085 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.8306, allocations: 357.9 kB / 1.085 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.8316, allocations: 0.67 MB / 1.086 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.8329, allocations: 1.29 MB / 1.087 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.8351, allocations: 1.722 MB / 1.088 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.8351, allocations: 0 / 1.088 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002762/0.8378, allocations: 1.949 MB / 1.09 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.8379, allocations: 12 kB / 1.09 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.8379, allocations: 12 kB / 1.09 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/0.8379, allocations: 20 kB / 1.09 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.8391, allocations: 363.8 kB / 1.091 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.8391, allocations: 23.92 kB / 1.091 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009721/0.8401, allocations: 254.6 kB / 1.091 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.8401, allocations: 67.97 kB / 1.091 GB, free: 12.02 MB / 0.8698 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.0004947/0.8406, allocations: 404.4 kB / 1.092 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.8408, allocations: 198.7 kB / 1.092 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.8434, allocations: 1.883 MB / 1.094 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.8434, allocations: 12 kB / 1.094 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.8434, allocations: 3.938 kB / 1.094 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.8434, allocations: 7.984 kB / 1.094 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.848, allocations: 3.847 MB / 1.097 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.848, allocations: 4 kB / 1.097 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007308/0.8488, allocations: 276 kB / 1.098 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.8488, allocations: 19.94 kB / 1.098 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.8489, allocations: 39.97 kB / 1.098 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.8489, allocations: 15.94 kB / 1.098 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.8489, allocations: 11.94 kB / 1.098 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003798/0.8527, allocations: 2.989 MB / 1.101 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/0.8531, allocations: 334.3 kB / 1.101 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.8533, allocations: 31.94 kB / 1.101 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/0.8539, allocations: 131.9 kB / 1.101 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.854, allocations: 92.67 kB / 1.101 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.8541, allocations: 51.97 kB / 1.101 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001023/0.8551, allocations: 1.207 MB / 1.102 GB, free: 212 kB / 0.8698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8551, allocations: 0 / 1.102 GB, free: 212 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009157/0.856, allocations: 471.5 kB / 1.103 GB, free: 15.75 MB / 0.8855 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 (112): * Single equations (assignments): 106 * 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.005396/0.8614, allocations: 4.059 MB / 1.107 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002385/0.8638, allocations: 1.599 MB / 1.108 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8638, allocations: 4 kB / 1.108 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.865, allocations: 0.8113 MB / 1.109 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.8672, allocations: 0.967 MB / 1.11 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.8839, allocations: 14.84 MB / 1.125 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.8844, allocations: 0.8055 MB / 1.125 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001465/0.8859, allocations: 471 kB / 1.126 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/0.8866, allocations: 0.7218 MB / 1.127 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of SimCode: time 1.132e-06/0.8866, allocations: 0 / 1.127 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4881/1.375, allocations: 55.75 MB / 1.181 GB, free: 290.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/9.493, allocations: 5.094 kB / 1.181 GB, free: 290.4 MB / 0.9167 GB " [Timeout remaining time 650] (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: 12.564342544879764] Failed to read output from testmodel.py, exit status != 0: 9.615577016025782 9.62199552 8.823115989 Calling exit ...