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.001201/0.001201, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001324/0.001324, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.331/1.331, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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.0014/0.0014, allocations: 51.92 kB / 378.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2099, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004638/0.2145, allocations: 3.712 MB / 435.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.2161, allocations: 1.016 MB / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.2162, allocations: 8 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.2165, allocations: 107 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.2169, allocations: 206.3 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.2171, allocations: 127.8 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000704/0.2178, allocations: 0.6916 MB / 437.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.2181, allocations: 122.9 kB / 437.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2183, allocations: 263.1 kB / 438.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.2187, allocations: 302.7 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.2187, allocations: 56 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.2188, allocations: 60 kB / 438.6 MB, free: 208 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.2189, allocations: 131.5 kB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.2192, allocations: 310.7 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.2199, allocations: 0.7006 MB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2199, allocations: 0 / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2199, allocations: 4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.2199, allocations: 0 / 439.7 MB, free: 15.06 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.001445/0.2213, allocations: 0.8333 MB / 440.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2214, allocations: 8.031 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.426e-05/0.2214, allocations: 8.844 kB / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.2215, allocations: 87.66 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2216, allocations: 68.56 kB / 440.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.2223, allocations: 381.3 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.2224, allocations: 106.7 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-05/0.2225, allocations: 44.08 kB / 441.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.2233, allocations: 0.4942 MB / 441.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2233, allocations: 7.984 kB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.2234, allocations: 16 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.2234, allocations: 8 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008194/0.2242, allocations: 347.8 kB / 442.1 MB, free: 12.53 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.002025/0.2262, allocations: 1.316 MB / 443.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.227, allocations: 357.1 kB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.2274, allocations: 180.7 kB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.2275, allocations: 8 kB / 443.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2275, allocations: 38.56 kB / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.442e-06/0.2275, allocations: 0 / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007601/0.2351, allocations: 2.678 MB / 446.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002357/0.2374, allocations: 2.358 MB / 449 MB, free: 5.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.238, allocations: 462 kB / 449.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.238, allocations: 37.7 kB / 449.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.2382, allocations: 245 kB / 449.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.2384, allocations: 222.1 kB / 450 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.2386, allocations: 106.3 kB / 450.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2388, allocations: 370.7 kB / 450.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006941/0.2395, allocations: 281.2 kB / 450.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/0.2404, allocations: 445.5 kB / 451.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2417, allocations: 0.613 MB / 451.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2417, allocations: 0 / 451.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002026/0.2437, allocations: 0.8883 MB / 452.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.2438, allocations: 29.7 kB / 452.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2438, allocations: 0 / 452.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.2441, allocations: 179.3 kB / 452.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.2448, allocations: 143.7 kB / 453 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005281/0.2501, allocations: 5.712 MB / 458.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/0.2507, allocations: 59.97 kB / 458.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.2508, allocations: 19.98 kB / 458.8 MB, free: 10.87 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.0002742/0.251, allocations: 189.7 kB / 459 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2512, allocations: 63.62 kB / 459 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.2513, allocations: 73.41 kB / 459.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2513, allocations: 4 kB / 459.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2513, allocations: 4 kB / 459.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/0.2535, allocations: 1.182 MB / 460.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/0.2568, allocations: 1.786 MB / 462.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2568, allocations: 0 / 462.1 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.2574, allocations: 127.8 kB / 462.2 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/0.2579, allocations: 202.6 kB / 462.4 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.2579, allocations: 16 kB / 462.4 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004925/0.2629, allocations: 4.837 MB / 467.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001458/0.2643, allocations: 1.638 MB / 468.9 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/0.2672, allocations: 1.328 MB / 470.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.2675, allocations: 123.6 kB / 470.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.2676, allocations: 23.81 kB / 470.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.2681, allocations: 47.94 kB / 470.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.2682, allocations: 60.45 kB / 470.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.2683, allocations: 19.98 kB / 470.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003637/0.2686, allocations: 327.1 kB / 470.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2686, allocations: 0 / 470.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.2693, allocations: 200 kB / 471 MB, free: 13.96 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.003218/0.2725, allocations: 1.895 MB / 472.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002275/0.2748, allocations: 1.193 MB / 474.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2748, allocations: 0 / 474.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.2761, allocations: 0.7174 MB / 474.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/0.2768, allocations: 156 kB / 474.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009774/0.2866, allocations: 6.04 MB / 481 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.2871, allocations: 0.8687 MB / 481.9 MB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003119/0.2874, allocations: 80.92 kB / 481.9 MB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.2877, allocations: 207.4 kB / 482.1 MB, free: 2.5 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2877, allocations: 0 / 482.1 MB, free: 2.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/0.3411, allocations: 18.55 MB / 0.4889 GB, free: 272 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.74, allocations: 10.59 kB / 0.489 GB, free: 268 kB / 398.1 MB " [Timeout remaining time 646] (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.96563646895811] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.9132688070531 13.935470346 13.711536611 Calling exit ...