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.001688/0.001688, allocations: 113 kB / 18.94 MB, free: 2.934 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.546/1.546, allocations: 230.6 MB / 252.7 MB, free: 8.324 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.001996/0.001996, allocations: 229.5 kB / 309.2 MB, free: 3.164 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.04147/0.04147, allocations: 8.916 MB / 374.6 MB, free: 1.926 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.002855/0.002855, allocations: 83.88 kB / 0.4892 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3026, allocations: 55.6 MB / 0.5435 GB, free: 26.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002461/0.3051, allocations: 1.769 MB / 0.5452 GB, free: 25.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.3053, allocations: 90.91 kB / 0.5453 GB, free: 25.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.3054, allocations: 3.281 kB / 0.5453 GB, free: 25.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.069e-05/0.3054, allocations: 22.42 kB / 0.5453 GB, free: 25.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.3055, allocations: 33.59 kB / 0.5454 GB, free: 25.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.3056, allocations: 21.89 kB / 0.5454 GB, free: 25.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.3058, allocations: 114 kB / 0.5455 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3059, allocations: 41.47 kB / 0.5455 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.3059, allocations: 38.53 kB / 0.5456 GB, free: 25.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.306, allocations: 42.34 kB / 0.5456 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.306, allocations: 9.5 kB / 0.5456 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.3061, allocations: 9.281 kB / 0.5456 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.3061, allocations: 26.56 kB / 0.5457 GB, free: 25.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.3061, allocations: 50.28 kB / 0.5457 GB, free: 25.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.3063, allocations: 111 kB / 0.5458 GB, free: 25.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3063, allocations: 0 / 0.5458 GB, free: 25.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3063, allocations: 3.188 kB / 0.5458 GB, free: 25.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3063, allocations: 0 / 0.5458 GB, free: 25.27 MB / 382.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.00038/0.3066, allocations: 319.7 kB / 0.5461 GB, free: 24.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3067, allocations: 9.406 kB / 0.5461 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.3067, allocations: 45.69 kB / 0.5462 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.3067, allocations: 11.23 kB / 0.5462 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.657e-05/0.3068, allocations: 124.5 kB / 0.5463 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3068, allocations: 3.625 kB / 0.5463 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3069, allocations: 10.38 kB / 0.5463 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.307, allocations: 96.38 kB / 0.5464 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.307, allocations: 3.938 kB / 0.5464 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.307, allocations: 4 kB / 0.5464 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.307, allocations: 3.062 kB / 0.5464 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3072, allocations: 54.42 kB / 0.5465 GB, free: 24.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.3077, allocations: 481.2 kB / 0.5469 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3079, allocations: 76.92 kB / 0.547 GB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.3079, allocations: 35.2 kB / 0.547 GB, free: 24.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3079, allocations: 6.906 kB / 0.547 GB, free: 24.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.308, allocations: 34.56 kB / 0.5471 GB, free: 24.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.308, allocations: 3.938 kB / 0.5471 GB, free: 24.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004492/0.3084, allocations: 143.8 kB / 0.5472 GB, free: 24.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.3084, allocations: 58.28 kB / 0.5473 GB, free: 24.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.3085, allocations: 117.4 kB / 0.5474 GB, free: 23.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.3085, allocations: 29.7 kB / 0.5474 GB, free: 23.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.3085, allocations: 106.5 kB / 0.5475 GB, free: 23.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.3085, allocations: 29.91 kB / 0.5475 GB, free: 23.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.3086, allocations: 20.16 kB / 0.5476 GB, free: 23.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.3086, allocations: 321.4 kB / 0.5479 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.3086, allocations: 13.5 kB / 0.5479 GB, free: 23.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.3087, allocations: 34.11 kB / 0.5479 GB, free: 23.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.3087, allocations: 64.66 kB / 0.548 GB, free: 23.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3088, allocations: 4.5 kB / 0.548 GB, free: 23.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001706/0.3089, allocations: 105.9 kB / 0.5481 GB, free: 23.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3089, allocations: 6.812 kB / 0.5481 GB, free: 23.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3089, allocations: 4 kB / 0.5481 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.3091, allocations: 28.7 kB / 0.5481 GB, free: 23.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.3092, allocations: 24.22 kB / 0.5481 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006848/0.3098, allocations: 1.326 MB / 0.5494 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.3099, allocations: 7.891 kB / 0.5494 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.3099, allocations: 3.531 kB / 0.5494 GB, free: 21.93 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 5.7e-05/0.3099, allocations: 117.2 kB / 0.5496 GB, free: 21.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.31, allocations: 7.281 kB / 0.5496 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.31, allocations: 14.91 kB / 0.5496 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.31, allocations: 0 / 0.5496 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.31, allocations: 0 / 0.5496 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.31, allocations: 7.344 kB / 0.5496 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3101, allocations: 169.4 kB / 0.5497 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3101, allocations: 0 / 0.5497 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.3102, allocations: 20.52 kB / 0.5498 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.029e-05/0.3103, allocations: 25.95 kB / 0.5498 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3103, allocations: 2.906 kB / 0.5498 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006115/0.3109, allocations: 1.309 MB / 0.5511 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3109, allocations: 4 kB / 0.5511 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.3111, allocations: 236.4 kB / 0.5513 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.3111, allocations: 18.19 kB / 0.5513 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.3111, allocations: 7.406 kB / 0.5513 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.3112, allocations: 4 kB / 0.5513 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.3112, allocations: 3.328 kB / 0.5513 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3112, allocations: 3.219 kB / 0.5513 GB, free: 20.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.917e-05/0.3112, allocations: 92.56 kB / 0.5514 GB, free: 20.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3112, allocations: 0 / 0.5514 GB, free: 20.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.3115, allocations: 29.81 kB / 0.5514 GB, free: 20 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.0003528/0.3119, allocations: 0.7511 MB / 0.5522 GB, free: 19.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3121, allocations: 173.5 kB / 0.5523 GB, free: 19.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3121, allocations: 0 / 0.5523 GB, free: 19.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.657e-05/0.3122, allocations: 150.7 kB / 0.5525 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3125, allocations: 14 kB / 0.5525 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3136, allocations: 1.569 MB / 0.554 GB, free: 17.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.937e-05/0.3137, allocations: 0.6999 MB / 0.5547 GB, free: 16.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.58e-05/0.3138, allocations: 6.438 kB / 0.5547 GB, free: 16.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.3138, allocations: 25.75 kB / 0.5547 GB, free: 16.92 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3138, allocations: 0 / 0.5547 GB, free: 16.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.3462, allocations: 2.563 MB / 0.5573 GB, free: 16.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.7, allocations: 2.75 kB / 0.5573 GB, free: 16.42 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.549233826808631] Failed to read output from testmodel.py, exit status != 0: 11.809246049029753 11.833002217 11.521952338 Calling exit ...