Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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.001268/0.001268, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.423/1.423, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001569/0.001569, allocations: 219.3 kB / 309.2 MB, free: 3.082 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.04112/0.04112, allocations: 8.923 MB / 374.6 MB, free: 6.613 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.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",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.002492/0.002492, allocations: 87.86 kB / 0.4891 GB, free: 44.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07816/0.08066, allocations: 55.6 MB / 0.5434 GB, free: 5.098 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002871/0.08353, allocations: 1.689 MB / 0.5451 GB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002934/0.08382, allocations: 99.62 kB / 0.5452 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.08388, allocations: 0 / 0.5452 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.156e-05/0.08395, allocations: 19.84 kB / 0.5452 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.592e-05/0.08403, allocations: 35.7 kB / 0.5452 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.08417, allocations: 19.98 kB / 0.5452 GB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.08433, allocations: 115.4 kB / 0.5454 GB, free: 3.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.08448, allocations: 36.14 kB / 0.5454 GB, free: 3.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.08454, allocations: 39.91 kB / 0.5454 GB, free: 3.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.08464, allocations: 43.78 kB / 0.5455 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.08467, allocations: 8 kB / 0.5455 GB, free: 2.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.668e-05/0.0847, allocations: 12 kB / 0.5455 GB, free: 2.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.08472, allocations: 15.92 kB / 0.5455 GB, free: 2.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.08478, allocations: 43.86 kB / 0.5455 GB, free: 2.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.08495, allocations: 115.5 kB / 0.5457 GB, free: 2.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.08496, allocations: 4 kB / 0.5457 GB, free: 2.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.08496, allocations: 4 kB / 0.5457 GB, free: 2.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.08496, allocations: 0 / 0.5457 GB, free: 2.797 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004936/0.08546, allocations: 311.4 kB / 0.546 GB, free: 2.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.08551, allocations: 15.98 kB / 0.546 GB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.08555, allocations: 46.73 kB / 0.546 GB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.08558, allocations: 8.891 kB / 0.546 GB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.08569, allocations: 118.4 kB / 0.5461 GB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.08571, allocations: 12.36 kB / 0.5462 GB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.08574, allocations: 16.38 kB / 0.5462 GB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.08593, allocations: 90.28 kB / 0.5463 GB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.08595, allocations: 3.938 kB / 0.5463 GB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.08596, allocations: 11.94 kB / 0.5463 GB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.08597, allocations: 0 / 0.5463 GB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.08609, allocations: 55.97 kB / 0.5463 GB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.08678, allocations: 387.4 kB / 0.5467 GB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.08702, allocations: 74.5 kB / 0.5468 GB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.08709, allocations: 44.78 kB / 0.5468 GB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.08711, allocations: 0 / 0.5468 GB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.08713, allocations: 34.56 kB / 0.5468 GB, free: 1.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.08713, allocations: 0 / 0.5468 GB, free: 1.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005285/0.08766, allocations: 150.5 kB / 0.547 GB, free: 1.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.0877, allocations: 51.41 kB / 0.547 GB, free: 1.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.08781, allocations: 117.8 kB / 0.5471 GB, free: 1.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.08782, allocations: 29.7 kB / 0.5472 GB, free: 1.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.08789, allocations: 108 kB / 0.5473 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.08792, allocations: 27.75 kB / 0.5473 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.08796, allocations: 21.7 kB / 0.5473 GB, free: 0.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.08809, allocations: 318.8 kB / 0.5476 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.08813, allocations: 15.98 kB / 0.5476 GB, free: 0.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.627e-05/0.08819, allocations: 41.64 kB / 0.5477 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.892e-05/0.08828, allocations: 54.28 kB / 0.5477 GB, free: 488 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.08828, allocations: 3.938 kB / 0.5477 GB, free: 484 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002202/0.0885, allocations: 118.3 kB / 0.5479 GB, free: 356 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.08851, allocations: 8 kB / 0.5479 GB, free: 348 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.08852, allocations: 0 / 0.5479 GB, free: 348 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.08868, allocations: 24.84 kB / 0.5479 GB, free: 320 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.08875, allocations: 19.98 kB / 0.5479 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.0899, allocations: 1.311 MB / 0.5492 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.08994, allocations: 12.08 kB / 0.5492 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.08995, allocations: 0 / 0.5492 GB, free: 14.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.09005, allocations: 122.6 kB / 0.5493 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.09008, allocations: 3.938 kB / 0.5493 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.09011, allocations: 12.38 kB / 0.5493 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.09011, allocations: 0 / 0.5493 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.09011, allocations: 0 / 0.5493 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.09012, allocations: 3.984 kB / 0.5493 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.09033, allocations: 172.6 kB / 0.5495 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.09033, allocations: 0 / 0.5495 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.09042, allocations: 23.88 kB / 0.5495 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.962e-05/0.09052, allocations: 28.84 kB / 0.5495 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.09053, allocations: 0 / 0.5495 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.09158, allocations: 1.315 MB / 0.5508 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.09158, allocations: 0 / 0.5508 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.09187, allocations: 220.6 kB / 0.551 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.09188, allocations: 12.02 kB / 0.5511 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.09189, allocations: 11.95 kB / 0.5511 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.09196, allocations: 4 kB / 0.5511 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.09198, allocations: 7.984 kB / 0.5511 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.09198, allocations: 0 / 0.5511 GB, free: 12.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.472e-05/0.09204, allocations: 91.31 kB / 0.5512 GB, free: 12.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09204, allocations: 0 / 0.5512 GB, free: 12.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.09229, allocations: 31.94 kB / 0.5512 GB, free: 12.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005818/0.09287, allocations: 0.7601 MB / 0.5519 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.09317, allocations: 170.6 kB / 0.5521 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.09317, allocations: 4 kB / 0.5521 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.09332, allocations: 146.6 kB / 0.5522 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.09363, allocations: 13.86 kB / 0.5523 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.09533, allocations: 1.576 MB / 0.5538 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.759e-05/0.09541, allocations: 79.33 kB / 0.5539 GB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.09544, allocations: 8.656 kB / 0.5539 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.09548, allocations: 23.44 kB / 0.5539 GB, free: 9.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.09548, allocations: 0 / 0.5539 GB, free: 9.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.1284, allocations: 3.015 MB / 0.5568 GB, free: 6.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.4, allocations: 10.05 kB / 0.5569 GB, free: 6.781 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Network_fmu --startTime=0 --stopTime=400 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Network.fmu > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.280719848815352] Failed to read output from testmodel.py, exit status != 0: 11.51082266960293 11.752278823 11.662666248 Calling exit ...