Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 108.2 kB / 20.22 MB, free: 1.812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 222.2 kB / 23.48 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 230.4 MB / 257 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 377.1 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2416, allocations: 53.3 MB / 430.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003987/0.2455, allocations: 2.548 MB / 432.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2467, allocations: 0.6934 MB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2468, allocations: 4 kB / 433.6 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.247, allocations: 35.64 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.2471, allocations: 67.36 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.2474, allocations: 67.84 kB / 433.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.2477, allocations: 266.8 kB / 434 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.2479, allocations: 75.42 kB / 434.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.248, allocations: 91.7 kB / 434.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.2482, allocations: 111.5 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.2482, allocations: 24 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.2483, allocations: 24 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.2484, allocations: 51.77 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.2485, allocations: 123.5 kB / 434.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.2489, allocations: 255.3 kB / 434.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2489, allocations: 0 / 434.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2489, allocations: 7.938 kB / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2489, allocations: 0 / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009808/0.2499, allocations: 0.548 MB / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2499, allocations: 12.03 kB / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.2501, allocations: 55.16 kB / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.2502, allocations: 32.75 kB / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.2505, allocations: 236.4 kB / 435.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.2506, allocations: 24.8 kB / 435.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.2506, allocations: 24.38 kB / 435.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.2511, allocations: 230 kB / 435.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.2511, allocations: 0 / 435.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.2511, allocations: 8 kB / 435.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2511, allocations: 8 kB / 435.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.2515, allocations: 161.6 kB / 436.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.2528, allocations: 0.813 MB / 436.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.2533, allocations: 158.5 kB / 437.1 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.2534, allocations: 72.81 kB / 437.1 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.2534, allocations: 4 kB / 437.1 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2535, allocations: 34.5 kB / 437.2 MB, free: 244 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2535, allocations: 4 kB / 437.2 MB, free: 240 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008994/0.2544, allocations: 334.2 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.2544, allocations: 55.34 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2547, allocations: 182.6 kB / 437.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.2547, allocations: 29.7 kB / 437.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2548, allocations: 148.3 kB / 437.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.2549, allocations: 59.55 kB / 438 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.996e-05/0.2549, allocations: 41.7 kB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2551, allocations: 326.8 kB / 438.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.2552, allocations: 59.91 kB / 438.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.2554, allocations: 93.56 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.2558, allocations: 143.3 kB / 438.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2558, allocations: 0 / 438.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004701/0.2563, allocations: 218.2 kB / 438.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2563, allocations: 12 kB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2563, allocations: 4 kB / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/0.2565, allocations: 32.84 kB / 438.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2566, allocations: 39.84 kB / 438.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.258, allocations: 1.465 MB / 440.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.2581, allocations: 35.84 kB / 440.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.2581, allocations: 8 kB / 440.4 MB, free: 12.73 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: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001278/0.2583, allocations: 133.9 kB / 440.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.2583, allocations: 15.91 kB / 440.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.2584, allocations: 21.86 kB / 440.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2584, allocations: 0 / 440.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2584, allocations: 3.938 kB / 440.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2584, allocations: 0 / 440.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007522/0.2591, allocations: 0.5186 MB / 441.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2591, allocations: 0 / 441.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.2593, allocations: 27.92 kB / 441.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.2594, allocations: 32.84 kB / 441.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2594, allocations: 4 kB / 441.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.2607, allocations: 1.474 MB / 442.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2607, allocations: 0 / 442.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.2613, allocations: 358.9 kB / 443 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2614, allocations: 108.9 kB / 443.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.2614, allocations: 4 kB / 443.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.2616, allocations: 23.97 kB / 443.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.2617, allocations: 19.98 kB / 443.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2617, allocations: 8 kB / 443.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.2618, allocations: 128.3 kB / 443.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2618, allocations: 0 / 443.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.2621, allocations: 59.89 kB / 443.4 MB, free: 9.551 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * 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: 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.000972/0.2631, allocations: 0.8849 MB / 444.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005558/0.2637, allocations: 249.2 kB / 444.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2637, allocations: 8.312 kB / 444.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.2639, allocations: 182.5 kB / 444.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.2643, allocations: 35.86 kB / 444.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.2673, allocations: 2.226 MB / 446.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2677, allocations: 0.7359 MB / 447.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.832e-05/0.2677, allocations: 13.55 kB / 447.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.2678, allocations: 55.42 kB / 447.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2678, allocations: 4 kB / 447.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.303, allocations: 4.552 MB / 452.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.85/10.15, allocations: 3.75 kB / 452.3 MB, free: 0.5625 MB / 350.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.405763627029955] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'onOffController.y'] 10.236053867964074 10.262823806 10.009060551 Calling exit ...