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.001683/0.001683, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.002022/0.002022, allocations: 205.7 kB / 22.12 MB, free: 0.9609 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.332/1.332, allocations: 207.6 MB / 232.5 MB, free: 3.941 MB / 174.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.001647/0.001647, allocations: 55.92 kB / 343 MB, free: 10.12 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08577/0.08742, allocations: 49.13 MB / 392.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005014/0.09243, allocations: 3.682 MB / 395.8 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.09406, allocations: 1.017 MB / 396.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.09422, allocations: 11.94 kB / 396.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.09452, allocations: 115 kB / 396.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.09488, allocations: 202.3 kB / 397.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.09513, allocations: 135.7 kB / 397.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007494/0.09588, allocations: 0.6808 MB / 397.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.09612, allocations: 134.3 kB / 398.1 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.0964, allocations: 267 kB / 398.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.09674, allocations: 294.8 kB / 398.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.09682, allocations: 56 kB / 398.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.7e-05/0.09692, allocations: 60 kB / 398.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.09703, allocations: 123.5 kB / 398.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.09733, allocations: 318.5 kB / 399.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007001/0.09803, allocations: 0.6925 MB / 399.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.09803, allocations: 0 / 399.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09803, allocations: 0 / 399.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.09804, allocations: 4 kB / 399.9 MB, free: 1.027 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.001527/0.09957, allocations: 0.9046 MB / 400.8 MB, free: 68 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.09961, allocations: 8.031 kB / 400.8 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.556e-05/0.09966, allocations: 16.78 kB / 400.8 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.09978, allocations: 83.69 kB / 400.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.09991, allocations: 68.52 kB / 400.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.1006, allocations: 451.2 kB / 401.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/0.1007, allocations: 55.27 kB / 401.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.1008, allocations: 44.11 kB / 401.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008985/0.1017, allocations: 0.498 MB / 402 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1017, allocations: 8 kB / 402 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.1018, allocations: 16 kB / 402 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.1018, allocations: 8 kB / 402 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008535/0.1026, allocations: 343.8 kB / 402.3 MB, free: 14.38 MB / 334.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.002179/0.1048, allocations: 1.347 MB / 403.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.1057, allocations: 431.7 kB / 404.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.1061, allocations: 180.8 kB / 404.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.1061, allocations: 11.98 kB / 404.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1062, allocations: 42.56 kB / 404.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.713e-06/0.1062, allocations: 0 / 404.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.008057/0.1142, allocations: 2.91 MB / 407.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002614/0.1168, allocations: 2.458 MB / 409.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/0.1174, allocations: 454 kB / 410.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.1175, allocations: 41.64 kB / 410.2 MB, free: 6.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.1177, allocations: 252.8 kB / 410.4 MB, free: 5.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.1179, allocations: 222.1 kB / 410.7 MB, free: 5.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.1181, allocations: 110.2 kB / 410.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1183, allocations: 366.7 kB / 411.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/0.119, allocations: 280.9 kB / 411.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008866/0.1199, allocations: 444.4 kB / 411.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.1213, allocations: 0.6156 MB / 412.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1213, allocations: 0 / 412.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002085/0.1234, allocations: 0.8862 MB / 413.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.1234, allocations: 33.7 kB / 413.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1234, allocations: 0 / 413.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.1238, allocations: 179.3 kB / 413.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.1245, allocations: 139.8 kB / 413.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005656/0.1301, allocations: 6.11 MB / 419.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.1308, allocations: 63.97 kB / 419.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.1309, allocations: 19.98 kB / 419.9 MB, free: 11.65 MB / 350.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.0002819/0.1311, allocations: 189.7 kB / 420.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1313, allocations: 63.62 kB / 420.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.1314, allocations: 73.41 kB / 420.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1314, allocations: 12 kB / 420.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1314, allocations: 288 / 420.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002233/0.1337, allocations: 1.184 MB / 421.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.1372, allocations: 1.83 MB / 423.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1372, allocations: 3.938 kB / 423.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/0.1379, allocations: 131.7 kB / 423.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005104/0.1384, allocations: 206.5 kB / 423.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.1384, allocations: 15.98 kB / 423.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005716/0.1441, allocations: 5.143 MB / 428.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001787/0.1459, allocations: 1.738 MB / 430.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.1492, allocations: 1.326 MB / 431.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.1495, allocations: 200.7 kB / 432 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.1496, allocations: 15.94 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.1502, allocations: 48.38 kB / 432 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.1504, allocations: 56.47 kB / 432.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.1504, allocations: 20.06 kB / 432.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004129/0.1508, allocations: 327.1 kB / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1508, allocations: 0 / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007052/0.1515, allocations: 200 kB / 432.6 MB, free: 14.08 MB / 366.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.003553/0.1551, allocations: 1.905 MB / 434.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002526/0.1576, allocations: 1.181 MB / 435.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1576, allocations: 0 / 435.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.1591, allocations: 0.7217 MB / 436.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007886/0.1599, allocations: 153.8 kB / 436.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.1702, allocations: 6.048 MB / 442.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.1708, allocations: 0.8686 MB / 443.5 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.1711, allocations: 72.94 kB / 443.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.1715, allocations: 207.4 kB / 443.8 MB, free: 2.633 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1715, allocations: 3.938 kB / 443.8 MB, free: 2.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05371/0.2252, allocations: 18.06 MB / 461.8 MB, free: 492 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/12.89, allocations: 12 kB / 461.8 MB, free: 480 kB / 382.1 MB " [Timeout remaining time 647] (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: 15.359018040006049] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.240284359024372 13.250604106 13.150271989 Calling exit ...