Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001451/0.001451, allocations: 101.4 kB / 21.95 MB, free: 5.219 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.001624/0.001624, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001715/0.001715, allocations: 55.92 kB / 348 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2386, allocations: 49.15 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003685/0.2423, allocations: 3.36 MB / 400.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2435, allocations: 0.9716 MB / 401.4 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.2437, allocations: 9.375 kB / 401.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.244, allocations: 105.2 kB / 401.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.2443, allocations: 201.7 kB / 401.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2445, allocations: 132.3 kB / 401.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.2451, allocations: 0.6841 MB / 402.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.2453, allocations: 132.3 kB / 402.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.2455, allocations: 263.3 kB / 403 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.2458, allocations: 297.5 kB / 403.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-05/0.2459, allocations: 57.44 kB / 403.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.246, allocations: 58.41 kB / 403.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.2461, allocations: 124.8 kB / 403.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.2463, allocations: 260.6 kB / 403.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.2469, allocations: 0.7001 MB / 404.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2469, allocations: 0 / 404.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2469, allocations: 0 / 404.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.2469, allocations: 0.75 kB / 404.4 MB, free: 4.449 MB / 318.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.001341/0.2483, allocations: 0.843 MB / 405.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2483, allocations: 13.64 kB / 405.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.167e-05/0.2483, allocations: 11.45 kB / 405.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.315e-05/0.2484, allocations: 78.22 kB / 405.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2485, allocations: 71.42 kB / 405.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/0.2492, allocations: 385.9 kB / 405.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.2493, allocations: 111.8 kB / 405.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.2493, allocations: 39.62 kB / 406 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008411/0.2502, allocations: 0.8699 MB / 406.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.2502, allocations: 1.281 kB / 406.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.2502, allocations: 16.67 kB / 406.9 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2502, allocations: 12.55 kB / 406.9 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.251, allocations: 354.5 kB / 407.2 MB, free: 2.461 MB / 318.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.001715/0.2527, allocations: 1.066 MB / 408.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/0.2534, allocations: 345.2 kB / 408.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.2538, allocations: 178.7 kB / 408.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.2539, allocations: 11.06 kB / 408.8 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2539, allocations: 47.47 kB / 408.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.2539, allocations: 0 / 408.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.006952/0.2608, allocations: 2.689 MB / 411.5 MB, free: 428 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002333/0.2632, allocations: 2.329 MB / 413.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.2637, allocations: 457.2 kB / 414.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.2638, allocations: 38.58 kB / 414.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.264, allocations: 242.9 kB / 414.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.2642, allocations: 223.7 kB / 414.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.2644, allocations: 114.2 kB / 414.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.2646, allocations: 368.7 kB / 415.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/0.2652, allocations: 304.5 kB / 415.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.2662, allocations: 0.8422 MB / 416.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.2676, allocations: 0.6128 MB / 417 MB, free: 11.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2676, allocations: 4 kB / 417 MB, free: 11.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002013/0.2696, allocations: 0.9153 MB / 418 MB, free: 11.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.2696, allocations: 31.95 kB / 418 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2696, allocations: 5.141 kB / 418 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.27, allocations: 175.4 kB / 418.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.2707, allocations: 147.1 kB / 418.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/0.2763, allocations: 5.668 MB / 424 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/0.2771, allocations: 60.81 kB / 424 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.2772, allocations: 20.61 kB / 424.1 MB, free: 5.344 MB / 334.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.0003745/0.2775, allocations: 189.2 kB / 424.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2777, allocations: 62.75 kB / 424.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.2778, allocations: 74.19 kB / 424.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2778, allocations: 6.328 kB / 424.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.2778, allocations: 5.25 kB / 424.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002181/0.28, allocations: 1.19 MB / 425.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.2834, allocations: 1.635 MB / 427.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2834, allocations: 3.938 kB / 427.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.284, allocations: 130.4 kB / 427.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/0.2845, allocations: 206.5 kB / 427.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.2845, allocations: 6.5 kB / 427.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005148/0.2897, allocations: 4.813 MB / 432.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001506/0.2912, allocations: 1.622 MB / 434 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.294, allocations: 1.324 MB / 435.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/0.2944, allocations: 123.7 kB / 435.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.494e-05/0.2945, allocations: 20.36 kB / 435.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.295, allocations: 52 kB / 435.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.2952, allocations: 56.39 kB / 435.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.2952, allocations: 23.98 kB / 435.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004007/0.2956, allocations: 323.1 kB / 435.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2956, allocations: 0 / 435.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006982/0.2963, allocations: 204 kB / 436.1 MB, free: 10.16 MB / 350.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.003238/0.2996, allocations: 1.888 MB / 438 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.3019, allocations: 1.218 MB / 439.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.3019, allocations: 8.062 kB / 439.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.3032, allocations: 0.7173 MB / 439.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.3039, allocations: 145.7 kB / 440.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.3139, allocations: 6.144 MB / 446.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3142, allocations: 264.9 kB / 446.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003503/0.3146, allocations: 76.94 kB / 446.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.3149, allocations: 211.3 kB / 446.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3149, allocations: 4 kB / 446.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05691/0.3718, allocations: 19.69 MB / 466.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/13.86, allocations: 4.062 kB / 466.4 MB, free: 11.38 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.04749069409445] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 14.036382950958796 14.050920078 13.801101789 Calling exit ...