Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001311/0.001311, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] 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.001367/0.001367, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.341/1.341, allocations: 230.6 MB / 254.8 MB, free: 15.07 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+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 43.94 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08731, allocations: 53.34 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004535/0.09185, allocations: 3.694 MB / 430.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.09347, allocations: 1.02 MB / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.09366, allocations: 7.938 kB / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.164/0.2577, allocations: 98.77 kB / 431.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005534/0.2582, allocations: 205.4 kB / 432 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.2585, allocations: 129.2 kB / 432.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.2591, allocations: 0.6834 MB / 432.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.2593, allocations: 129.2 kB / 433 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.2596, allocations: 267.1 kB / 433.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.2598, allocations: 300.9 kB / 433.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.085e-05/0.2599, allocations: 58.66 kB / 433.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.26, allocations: 57.31 kB / 433.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.9e-05/0.26, allocations: 125 kB / 433.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.2602, allocations: 307 kB / 434.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.2608, allocations: 0.698 MB / 434.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2608, allocations: 3.688 kB / 434.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2608, allocations: 0 / 434.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.2608, allocations: 1.969 kB / 434.8 MB, free: 7.199 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001279/0.2621, allocations: 0.9067 MB / 435.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2621, allocations: 10.5 kB / 435.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.365e-05/0.2622, allocations: 11.56 kB / 435.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.04e-05/0.2623, allocations: 83.11 kB / 435.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/0.2624, allocations: 70.98 kB / 435.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/0.263, allocations: 441 kB / 436.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.263, allocations: 58.78 kB / 436.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.2631, allocations: 38.47 kB / 436.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.2638, allocations: 0.5035 MB / 436.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2639, allocations: 1.594 kB / 436.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.2639, allocations: 19.2 kB / 436.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2639, allocations: 8.562 kB / 436.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/0.2647, allocations: 352.5 kB / 437.2 MB, free: 6.016 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.2665, allocations: 1.344 MB / 438.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.2672, allocations: 424.8 kB / 439 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.2676, allocations: 184.2 kB / 439.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.2676, allocations: 5.453 kB / 439.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.2676, allocations: 39.86 kB / 439.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.383e-06/0.2676, allocations: 3.312 kB / 439.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007407/0.275, allocations: 2.909 MB / 442.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001792/0.2768, allocations: 2.461 MB / 444.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.2773, allocations: 459.9 kB / 445 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.2774, allocations: 43.64 kB / 445.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.2775, allocations: 239.4 kB / 445.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.2776, allocations: 220.2 kB / 445.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.2778, allocations: 108.5 kB / 445.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.2779, allocations: 369.2 kB / 446 MB, free: 404 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.2785, allocations: 281.5 kB / 446.3 MB, free: 304 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007512/0.2793, allocations: 442 kB / 446.7 MB, free: 40 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.2809, allocations: 0.6335 MB / 447.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2809, allocations: 1.125 kB / 447.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002015/0.2829, allocations: 0.8888 MB / 448.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.2829, allocations: 31.52 kB / 448.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2829, allocations: 5.312 kB / 448.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.2833, allocations: 171.2 kB / 448.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.2839, allocations: 143.2 kB / 448.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/0.2894, allocations: 6.113 MB / 454.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.2901, allocations: 59.42 kB / 454.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.2902, allocations: 20.42 kB / 454.8 MB, free: 9.352 MB / 366.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 (60): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.2904, allocations: 187.8 kB / 455 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2906, allocations: 67.3 kB / 455 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.2907, allocations: 70.11 kB / 455.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.2907, allocations: 5.906 kB / 455.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.2907, allocations: 1.188 kB / 455.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002174/0.2929, allocations: 1.185 MB / 456.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.2963, allocations: 1.834 MB / 458.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.2963, allocations: 0.6094 kB / 458.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.2969, allocations: 123.8 kB / 458.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.2974, allocations: 215.6 kB / 458.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.2974, allocations: 13.91 kB / 458.5 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/0.3025, allocations: 5.147 MB / 463.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001573/0.304, allocations: 1.737 MB / 465.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.3069, allocations: 1.327 MB / 466.7 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.3072, allocations: 199.2 kB / 466.9 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/0.3073, allocations: 18.59 kB / 466.9 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.3079, allocations: 48.7 kB / 466.9 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.308, allocations: 59.95 kB / 467 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.3081, allocations: 17.88 kB / 467 MB, free: 44 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004244/0.3085, allocations: 335.1 kB / 467.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3085, allocations: 0 / 467.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006857/0.3092, allocations: 206.5 kB / 467.5 MB, free: 15.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003174/0.3124, allocations: 1.893 MB / 469.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.3147, allocations: 1.183 MB / 470.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3147, allocations: 1.125 kB / 470.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.3161, allocations: 0.7201 MB / 471.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/0.3168, allocations: 154.6 kB / 471.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009592/0.3264, allocations: 6.044 MB / 477.5 MB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.3268, allocations: 0.8671 MB / 478.4 MB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.3271, allocations: 77.09 kB / 478.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.3274, allocations: 209.5 kB / 478.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3274, allocations: 0 / 478.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05156/0.379, allocations: 18.08 MB / 496.8 MB, free: 8.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.86, allocations: 11.98 kB / 496.8 MB, free: 8.113 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.096099121961743] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.018839965981897 13.031645631 12.768102337 Calling exit ...