Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.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.001707/0.001707, allocations: 111.1 kB / 16.46 MB, free: 6.504 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.421/1.421, allocations: 225.6 MB / 244.8 MB, free: 14.16 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.001424/0.001424, allocations: 187.5 kB / 299.8 MB, free: 9.828 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.06548/0.06548, allocations: 8.945 MB / 363.7 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.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 80.44 kB / 486 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1154, allocations: 54.41 MB / 0.5278 GB, free: 1.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003958/0.1194, allocations: 2.436 MB / 0.5302 GB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1204, allocations: 0.5955 MB / 0.5307 GB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1206, allocations: 4 kB / 0.5308 GB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.1207, allocations: 27.72 kB / 0.5308 GB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.1208, allocations: 75.34 kB / 0.5309 GB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1211, allocations: 51.86 kB / 0.5309 GB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.1214, allocations: 250.8 kB / 0.5311 GB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1215, allocations: 56.28 kB / 0.5312 GB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1216, allocations: 91.64 kB / 0.5313 GB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1218, allocations: 103.5 kB / 0.5314 GB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.1218, allocations: 20 kB / 0.5314 GB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.1219, allocations: 20 kB / 0.5314 GB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.1219, allocations: 39.8 kB / 0.5315 GB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.122, allocations: 111.5 kB / 0.5316 GB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.1223, allocations: 230.9 kB / 0.5318 GB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1223, allocations: 0 / 0.5318 GB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.468e-06/0.1224, allocations: 3.984 kB / 0.5318 GB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1224, allocations: 0 / 0.5318 GB, free: 13.23 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008352/0.1232, allocations: 0.5023 MB / 0.5323 GB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1232, allocations: 12.03 kB / 0.5323 GB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.34e-05/0.1233, allocations: 50.73 kB / 0.5323 GB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.1234, allocations: 28.8 kB / 0.5324 GB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1237, allocations: 232 kB / 0.5326 GB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1237, allocations: 20.31 kB / 0.5326 GB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.1238, allocations: 16.38 kB / 0.5326 GB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.1241, allocations: 199.3 kB / 0.5328 GB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1241, allocations: 0 / 0.5328 GB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1241, allocations: 8 kB / 0.5328 GB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1241, allocations: 4 kB / 0.5328 GB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.1244, allocations: 119.8 kB / 0.5329 GB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.1256, allocations: 0.7403 MB / 0.5337 GB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1259, allocations: 118.8 kB / 0.5338 GB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.1259, allocations: 52.78 kB / 0.5338 GB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.126, allocations: 0 / 0.5338 GB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.1261, allocations: 99.31 kB / 0.5339 GB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.1261, allocations: 0 / 0.5339 GB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007172/0.1269, allocations: 291.3 kB / 0.5342 GB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.1269, allocations: 59.41 kB / 0.5343 GB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1271, allocations: 184 kB / 0.5344 GB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1271, allocations: 29.7 kB / 0.5345 GB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1272, allocations: 144.3 kB / 0.5346 GB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.1273, allocations: 51.53 kB / 0.5346 GB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.1273, allocations: 37.7 kB / 0.5347 GB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1275, allocations: 326.8 kB / 0.535 GB, free: 9.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.1276, allocations: 35.98 kB / 0.535 GB, free: 9.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.742e-05/0.1277, allocations: 72.23 kB / 0.5351 GB, free: 9.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.1278, allocations: 115.2 kB / 0.5352 GB, free: 9.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1278, allocations: 4 kB / 0.5352 GB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003246/0.1282, allocations: 178.2 kB / 0.5354 GB, free: 9.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1282, allocations: 4 kB / 0.5354 GB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1282, allocations: 7.984 kB / 0.5354 GB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.1284, allocations: 40.77 kB / 0.5354 GB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1285, allocations: 23.98 kB / 0.5355 GB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.1299, allocations: 1.473 MB / 0.5369 GB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1301, allocations: 15.88 kB / 0.5369 GB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1301, allocations: 12.06 kB / 0.5369 GB, free: 7.512 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.1302, allocations: 129.8 kB / 0.537 GB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.1303, allocations: 23.84 kB / 0.5371 GB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.1303, allocations: 25.52 kB / 0.5371 GB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1303, allocations: 0 / 0.5371 GB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1303, allocations: 0 / 0.5371 GB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1303, allocations: 0 / 0.5371 GB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1307, allocations: 261.5 kB / 0.5373 GB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1307, allocations: 4 kB / 0.5373 GB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1308, allocations: 19.94 kB / 0.5374 GB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/0.1309, allocations: 32.83 kB / 0.5374 GB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1309, allocations: 4 kB / 0.5374 GB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.1322, allocations: 1.461 MB / 0.5388 GB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1322, allocations: 0 / 0.5388 GB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.1326, allocations: 236.2 kB / 0.539 GB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.1327, allocations: 109.1 kB / 0.5392 GB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.1327, allocations: 7.938 kB / 0.5392 GB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1328, allocations: 7.984 kB / 0.5392 GB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.1329, allocations: 15.98 kB / 0.5392 GB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1329, allocations: 7.938 kB / 0.5392 GB, free: 4.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.133, allocations: 137.1 kB / 0.5393 GB, free: 4.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.133, allocations: 0 / 0.5393 GB, free: 4.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1333, allocations: 55.89 kB / 0.5394 GB, free: 4.754 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: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.001002/0.1343, allocations: 0.7692 MB / 0.5401 GB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000462/0.1348, allocations: 221.4 kB / 0.5403 GB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1348, allocations: 4.062 kB / 0.5403 GB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.135, allocations: 166.7 kB / 0.5405 GB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.1353, allocations: 35.97 kB / 0.5405 GB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.1381, allocations: 2.084 MB / 0.5426 GB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.1385, allocations: 0.732 MB / 0.5433 GB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.257e-05/0.1386, allocations: 9.562 kB / 0.5433 GB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.1387, allocations: 55.41 kB / 0.5433 GB, free: 0.4922 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1387, allocations: 4 kB / 0.5433 GB, free: 500 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.18, allocations: 4.251 MB / 0.5475 GB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.21, allocations: 7.094 kB / 0.5475 GB, free: 12.34 MB / 366.1 MB " [Timeout remaining time 650] (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Coupling_fmu --startTime=0 --stopTime=400 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Coupling.fmu > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.097735019400716] Failed to read output from testmodel.py, exit status != 0: 10.498230717144907 10.30839274 10.183094532 Calling exit ...