Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 107.5 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 213.2 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.95 MB / 361.6 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 79.88 kB / 0.4969 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2908, allocations: 66.09 MB / 0.5614 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0347/0.3255, allocations: 27.66 MB / 0.5884 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01863/0.3441, allocations: 13.83 MB / 0.602 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.3445, allocations: 11.88 kB / 0.602 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006789/0.3451, allocations: 194.7 kB / 0.6022 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007387/0.3459, allocations: 282.4 kB / 0.6024 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01377/0.3597, allocations: 5.599 MB / 0.6079 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.3608, allocations: 0.8304 MB / 0.6087 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.3612, allocations: 193 kB / 0.6089 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/0.3739, allocations: 5.498 MB / 0.6143 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.3744, allocations: 247 kB / 0.6145 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3745, allocations: 28 kB / 0.6145 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.386, allocations: 6.076 MB / 0.6204 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.3862, allocations: 91.67 kB / 0.6205 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.3864, allocations: 155.4 kB / 0.6207 GB, free: 7.105 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00792/0.3944, allocations: 3.683 MB / 0.6243 GB, free: 3.414 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3944, allocations: 0 / 0.6243 GB, free: 3.414 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3944, allocations: 0 / 0.6243 GB, free: 3.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.3944, allocations: 0 / 0.6243 GB, free: 3.414 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002428/0.3968, allocations: 0.9431 MB / 0.6252 GB, free: 2.438 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3969, allocations: 12.03 kB / 0.6252 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.19e-05/0.3969, allocations: 8.688 kB / 0.6252 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.477e-05/0.397, allocations: 66.72 kB / 0.6253 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.398, allocations: 116.6 kB / 0.6254 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.3985, allocations: 288.8 kB / 0.6257 GB, free: 1.926 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.3986, allocations: 20.88 kB / 0.6257 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.3986, allocations: 27.94 kB / 0.6257 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.3999, allocations: 0.5941 MB / 0.6263 GB, free: 1.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3999, allocations: 7.938 kB / 0.6263 GB, free: 1.199 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.3999, allocations: 15.98 kB / 0.6263 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3999, allocations: 4 kB / 0.6263 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.4011, allocations: 373.3 kB / 0.6267 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.404, allocations: 1.777 MB / 0.6284 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.405, allocations: 270.3 kB / 0.6287 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.4053, allocations: 92.78 kB / 0.6288 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.4055, allocations: 104.1 kB / 0.6289 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.4056, allocations: 42.5 kB / 0.6289 GB, free: 14.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.4056, allocations: 0 / 0.6289 GB, free: 14.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001715/0.4073, allocations: 449 kB / 0.6293 GB, free: 13.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.4074, allocations: 106.8 kB / 0.6294 GB, free: 13.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.4077, allocations: 324.4 kB / 0.6297 GB, free: 13.53 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.4078, allocations: 29.7 kB / 0.6298 GB, free: 13.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.4079, allocations: 211.9 kB / 0.63 GB, free: 13.28 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.408, allocations: 51.62 kB / 0.63 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.4081, allocations: 53.66 kB / 0.6301 GB, free: 13.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4083, allocations: 338.8 kB / 0.6304 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.4085, allocations: 83.92 kB / 0.6305 GB, free: 12.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.4089, allocations: 254.7 kB / 0.6307 GB, free: 12.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.4096, allocations: 281.9 kB / 0.631 GB, free: 12.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4096, allocations: 4 kB / 0.631 GB, free: 12.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000766/0.4103, allocations: 316.9 kB / 0.6313 GB, free: 11.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4103, allocations: 8 kB / 0.6313 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4104, allocations: 4.469 kB / 0.6313 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4104, allocations: 11.94 kB / 0.6313 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.4106, allocations: 67.89 kB / 0.6314 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4106, allocations: 4 kB / 0.6314 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.4109, allocations: 51.64 kB / 0.6314 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.4109, allocations: 16 kB / 0.6315 GB, free: 11.63 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001862/0.4111, allocations: 155 kB / 0.6316 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.4112, allocations: 31.8 kB / 0.6316 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.4124, allocations: 0.7606 MB / 0.6324 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.4124, allocations: 11.92 kB / 0.6324 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4124, allocations: 0 / 0.6324 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.4124, allocations: 8 kB / 0.6324 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.413, allocations: 481.9 kB / 0.6328 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.413, allocations: 0 / 0.6328 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.4132, allocations: 39.95 kB / 0.6329 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.4132, allocations: 8 kB / 0.6329 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4132, allocations: 0 / 0.6329 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.4132, allocations: 7.922 kB / 0.6329 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4132, allocations: 0 / 0.6329 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.414, allocations: 482.9 kB / 0.6334 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.4141, allocations: 39.64 kB / 0.6334 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.4142, allocations: 27.73 kB / 0.6334 GB, free: 9.527 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.4144, allocations: 19.92 kB / 0.6334 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.4144, allocations: 23.95 kB / 0.6335 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4145, allocations: 7.984 kB / 0.6335 GB, free: 9.477 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004079/0.4149, allocations: 342.9 kB / 0.6338 GB, free: 9.141 MB / 478.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4149, allocations: 0 / 0.6338 GB, free: 9.141 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002273/0.4171, allocations: 0.8538 MB / 0.6346 GB, free: 8.285 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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.004926/0.4221, allocations: 1.885 MB / 0.6365 GB, free: 6.371 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006934/0.4228, allocations: 267.7 kB / 0.6367 GB, free: 6.109 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4228, allocations: 0.9375 kB / 0.6367 GB, free: 6.109 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.4231, allocations: 143.9 kB / 0.6369 GB, free: 5.969 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.424, allocations: 190.3 kB / 0.6371 GB, free: 5.789 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/0.4303, allocations: 4.036 MB / 0.641 GB, free: 1.582 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.4305, allocations: 243.7 kB / 0.6412 GB, free: 1.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.4309, allocations: 142.8 kB / 0.6414 GB, free: 1.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.4311, allocations: 163.4 kB / 0.6415 GB, free: 1.02 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4311, allocations: 0 / 0.6415 GB, free: 1.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07649/0.5076, allocations: 39.95 MB / 0.6805 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.63, allocations: 8 kB / 0.6805 GB, free: 9.227 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.57187506800983] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 13.820332720060833 13.835662021 13.438038813 Calling exit ...