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.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.001299/0.001299, allocations: 107.6 kB / 16.45 MB, free: 6.508 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.476/1.476, allocations: 225.6 MB / 244.8 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] 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.001461/0.001461, allocations: 185.7 kB / 299.8 MB, free: 9.82 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04201/0.04201, allocations: 8.936 MB / 363.6 MB, free: 10.16 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(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: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 88.02 kB / 486 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1171, allocations: 54.41 MB / 0.5278 GB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003381/0.1205, allocations: 1.73 MB / 0.5295 GB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003231/0.1208, allocations: 95.67 kB / 0.5296 GB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.1209, allocations: 4 kB / 0.5296 GB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.234e-05/0.1209, allocations: 15.8 kB / 0.5296 GB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.121, allocations: 31.7 kB / 0.5296 GB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.1212, allocations: 27.91 kB / 0.5296 GB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.1213, allocations: 115.4 kB / 0.5297 GB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1215, allocations: 43.47 kB / 0.5298 GB, free: 15.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.1216, allocations: 43.86 kB / 0.5298 GB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.889e-05/0.1217, allocations: 43.84 kB / 0.5299 GB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1217, allocations: 12 kB / 0.5299 GB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.895e-05/0.1217, allocations: 8 kB / 0.5299 GB, free: 15.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.1217, allocations: 19.92 kB / 0.5299 GB, free: 15.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.1218, allocations: 51.8 kB / 0.53 GB, free: 15.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.122, allocations: 112.2 kB / 0.5301 GB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.122, allocations: 0 / 0.5301 GB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.122, allocations: 0 / 0.5301 GB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.122, allocations: 4 kB / 0.5301 GB, free: 14.97 MB / 350.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.0005632/0.1226, allocations: 395.1 kB / 0.5304 GB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1226, allocations: 8.031 kB / 0.5305 GB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.1226, allocations: 50.67 kB / 0.5305 GB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.1227, allocations: 12.89 kB / 0.5305 GB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1228, allocations: 164.3 kB / 0.5307 GB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1228, allocations: 8.375 kB / 0.5307 GB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1229, allocations: 12.33 kB / 0.5307 GB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1231, allocations: 98.16 kB / 0.5308 GB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1231, allocations: 7.938 kB / 0.5308 GB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1231, allocations: 4 kB / 0.5308 GB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1231, allocations: 4 kB / 0.5308 GB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.1232, allocations: 51.97 kB / 0.5309 GB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.124, allocations: 0.4975 MB / 0.5313 GB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1242, allocations: 74.55 kB / 0.5314 GB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.1243, allocations: 44.98 kB / 0.5315 GB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1243, allocations: 7.875 kB / 0.5315 GB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1244, allocations: 34.56 kB / 0.5315 GB, free: 13.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1244, allocations: 0 / 0.5315 GB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.1249, allocations: 219.5 kB / 0.5317 GB, free: 13.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.125, allocations: 55.34 kB / 0.5318 GB, free: 13.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1251, allocations: 121.8 kB / 0.5319 GB, free: 12.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1251, allocations: 25.7 kB / 0.5319 GB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.1252, allocations: 108 kB / 0.532 GB, free: 12.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1252, allocations: 27.73 kB / 0.532 GB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.1253, allocations: 21.72 kB / 0.532 GB, free: 12.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1254, allocations: 318.8 kB / 0.5323 GB, free: 12.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.1255, allocations: 27.98 kB / 0.5324 GB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-05/0.1255, allocations: 29.72 kB / 0.5324 GB, free: 12.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.1256, allocations: 57.64 kB / 0.5325 GB, free: 12.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1256, allocations: 3.938 kB / 0.5325 GB, free: 12.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002157/0.1258, allocations: 114.4 kB / 0.5326 GB, free: 12.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1258, allocations: 8.031 kB / 0.5326 GB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1258, allocations: 0 / 0.5326 GB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.126, allocations: 24.84 kB / 0.5326 GB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.1261, allocations: 23.94 kB / 0.5326 GB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.1274, allocations: 1.423 MB / 0.534 GB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.1274, allocations: 3.984 kB / 0.534 GB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1274, allocations: 4 kB / 0.534 GB, free: 10.48 MB / 350.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.0001001/0.1275, allocations: 119.9 kB / 0.5341 GB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1275, allocations: 16.61 kB / 0.5342 GB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.1276, allocations: 12.36 kB / 0.5342 GB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1276, allocations: 0 / 0.5342 GB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.1276, allocations: 0 / 0.5342 GB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1276, allocations: 4 kB / 0.5342 GB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.1278, allocations: 197.6 kB / 0.5344 GB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1278, allocations: 0 / 0.5344 GB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.1279, allocations: 23.86 kB / 0.5344 GB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.224e-05/0.128, allocations: 24.84 kB / 0.5344 GB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.128, allocations: 4 kB / 0.5344 GB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.1291, allocations: 1.418 MB / 0.5358 GB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.1291, allocations: 7.922 kB / 0.5358 GB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1295, allocations: 228.2 kB / 0.536 GB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.1295, allocations: 77.25 kB / 0.5361 GB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1295, allocations: 15.95 kB / 0.5361 GB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.1296, allocations: 4 kB / 0.5361 GB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.1296, allocations: 8.109 kB / 0.5361 GB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.1296, allocations: 4 kB / 0.5361 GB, free: 8.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.615e-05/0.1297, allocations: 87.28 kB / 0.5362 GB, free: 8.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1297, allocations: 0 / 0.5362 GB, free: 8.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1299, allocations: 31.95 kB / 0.5362 GB, free: 7.977 MB / 350.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.0006497/0.1306, allocations: 0.76 MB / 0.537 GB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.1309, allocations: 170.6 kB / 0.5371 GB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.1309, allocations: 0 / 0.5371 GB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1311, allocations: 142.6 kB / 0.5373 GB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1314, allocations: 8.469 kB / 0.5373 GB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.1333, allocations: 1.587 MB / 0.5388 GB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.1337, allocations: 0.6963 MB / 0.5395 GB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.1338, allocations: 4.656 kB / 0.5395 GB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.1338, allocations: 23.44 kB / 0.5395 GB, free: 4.418 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1338, allocations: 4 kB / 0.5395 GB, free: 4.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.1634, allocations: 2.437 MB / 0.5419 GB, free: 2.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.718/9.881, allocations: 8.078 kB / 0.5419 GB, free: 2.062 MB / 350.1 MB " [Timeout remaining time 650] (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: 12.748520215973258] Failed to read output from testmodel.py, exit status != 0: 10.17134728981182 9.979020255 9.853984338 Calling exit ...