Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.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.0013/0.0013, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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 1.426/1.426, allocations: 230.6 MB / 252.7 MB, free: 14.25 MB / 206.1 MB " [Timeout remaining time 178] 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.001563/0.001563, allocations: 222.9 kB / 309.2 MB, free: 3.148 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04068/0.04068, allocations: 8.922 MB / 374.6 MB, free: 6.578 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.TestLongRod,fileNamePrefix="HanserModelica_HanserModelica_Thermal_TestLongRod",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002521/0.002521, allocations: 83.86 kB / 0.4891 GB, free: 44.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08392/0.08644, allocations: 55.61 MB / 0.5434 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.TestLongRod): time 0.003356/0.0898, allocations: 1.932 MB / 0.5453 GB, free: 3.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004242/0.09022, allocations: 167.4 kB / 0.5455 GB, free: 2.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.09031, allocations: 7.938 kB / 0.5455 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.09046, allocations: 27.72 kB / 0.5455 GB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.09066, allocations: 75.47 kB / 0.5456 GB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.09082, allocations: 35.97 kB / 0.5456 GB, free: 2.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.09135, allocations: 0.4901 MB / 0.5461 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.09166, allocations: 158.4 kB / 0.5462 GB, free: 2.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.09191, allocations: 183.5 kB / 0.5464 GB, free: 1.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.09223, allocations: 215.2 kB / 0.5466 GB, free: 1.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.0923, allocations: 44 kB / 0.5467 GB, free: 1.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.09238, allocations: 52 kB / 0.5467 GB, free: 1.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.09251, allocations: 95.7 kB / 0.5468 GB, free: 1.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.0927, allocations: 175.4 kB / 0.547 GB, free: 1.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.09329, allocations: 0.5529 MB / 0.5475 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.09329, allocations: 0 / 0.5475 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09329, allocations: 0 / 0.5475 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.0933, allocations: 0 / 0.5475 GB, free: 0.8711 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0011/0.0944, allocations: 0.573 MB / 0.5481 GB, free: 272 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.09445, allocations: 15.98 kB / 0.5481 GB, free: 256 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.924e-05/0.09453, allocations: 74.66 kB / 0.5482 GB, free: 172 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.09461, allocations: 36.7 kB / 0.5482 GB, free: 136 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.09505, allocations: 258.1 kB / 0.5484 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.09509, allocations: 21.03 kB / 0.5485 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.09515, allocations: 32.31 kB / 0.5485 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.09585, allocations: 386.5 kB / 0.5489 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.09587, allocations: 3.938 kB / 0.5489 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.0959, allocations: 20 kB / 0.5489 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.09594, allocations: 16.64 kB / 0.5489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/0.09656, allocations: 350.4 kB / 0.5492 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.09822, allocations: 0.9876 MB / 0.5502 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.09891, allocations: 370.8 kB / 0.5506 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.09925, allocations: 180.8 kB / 0.5507 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.09926, allocations: 4 kB / 0.5507 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.09929, allocations: 34.56 kB / 0.5508 GB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.723e-06/0.0993, allocations: 0 / 0.5508 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001555/0.1009, allocations: 0.6287 MB / 0.5514 GB, free: 12.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1009, allocations: 59.34 kB / 0.5514 GB, free: 12.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1011, allocations: 215.5 kB / 0.5516 GB, free: 12.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1012, allocations: 33.7 kB / 0.5517 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1013, allocations: 176.5 kB / 0.5518 GB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.1014, allocations: 83.27 kB / 0.5519 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.1014, allocations: 41.72 kB / 0.552 GB, free: 12.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1016, allocations: 334.8 kB / 0.5523 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.1018, allocations: 107.9 kB / 0.5524 GB, free: 11.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.102, allocations: 123.9 kB / 0.5525 GB, free: 11.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.1024, allocations: 281 kB / 0.5528 GB, free: 11.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1024, allocations: 0 / 0.5528 GB, free: 11.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007695/0.1032, allocations: 431.7 kB / 0.5532 GB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1032, allocations: 4 kB / 0.5532 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1032, allocations: 0 / 0.5532 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004154/0.1036, allocations: 142.3 kB / 0.5533 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1038, allocations: 43.97 kB / 0.5534 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/0.1084, allocations: 4.834 MB / 0.5581 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.1086, allocations: 23.91 kB / 0.5581 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1086, allocations: 4 kB / 0.5581 GB, free: 5.441 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002872/0.1089, allocations: 193.8 kB / 0.5583 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.1089, allocations: 23.8 kB / 0.5583 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.109, allocations: 30.14 kB / 0.5583 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.109, allocations: 12.05 kB / 0.5584 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.109, allocations: 4 kB / 0.5584 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.109, allocations: 0 / 0.5584 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.1095, allocations: 356.5 kB / 0.5587 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1095, allocations: 0 / 0.5587 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.1098, allocations: 47.91 kB / 0.5587 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/0.1101, allocations: 130.4 kB / 0.5589 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.1101, allocations: 7.984 kB / 0.5589 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1853/0.2954, allocations: 4.819 MB / 0.5636 GB, free: 24.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2955, allocations: 0.6562 kB / 0.5636 GB, free: 24.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.2963, allocations: 0.6688 MB / 0.5642 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.2963, allocations: 26.88 kB / 0.5643 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.2964, allocations: 9.547 kB / 0.5643 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2965, allocations: 12.7 kB / 0.5643 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.2966, allocations: 21.88 kB / 0.5643 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2966, allocations: 2.406 kB / 0.5643 GB, free: 23.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.2967, allocations: 168.3 kB / 0.5645 GB, free: 23.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2967, allocations: 0.7812 kB / 0.5645 GB, free: 23.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005379/0.2973, allocations: 101.1 kB / 0.5646 GB, free: 23.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000918/0.2982, allocations: 1.208 MB / 0.5657 GB, free: 23.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007552/0.2989, allocations: 0.6468 MB / 0.5664 GB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2989, allocations: 3.547 kB / 0.5664 GB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.2994, allocations: 0.5161 MB / 0.5669 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.2997, allocations: 55.53 kB / 0.5669 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.3034, allocations: 3.5 MB / 0.5704 GB, free: 21.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.3036, allocations: 241.6 kB / 0.5706 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.3037, allocations: 51.45 kB / 0.5706 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3038, allocations: 78.97 kB / 0.5707 GB, free: 21 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3038, allocations: 0 / 0.5707 GB, free: 21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04431/0.3481, allocations: 8.168 MB / 0.5787 GB, free: 19.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.76, allocations: 4.531 kB / 0.5787 GB, free: 19.56 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_TestLongRod_fmu --startTime=0 --stopTime=400 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_TestLongRod.fmu > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.412753758020699] Failed to read output from testmodel.py, exit status != 0: 11.876347057987005 11.896900633 11.799755232 Calling exit ...