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.001186/0.001186, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001295/0.001295, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.359/1.359, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001421/0.001421, allocations: 43.92 kB / 378.5 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2277, allocations: 53.36 MB / 431.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004667/0.2324, allocations: 3.372 MB / 435.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2338, allocations: 0.9657 MB / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.234, allocations: 11.88 kB / 436.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.2343, allocations: 107.1 kB / 436.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.2346, allocations: 198.4 kB / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.2349, allocations: 131.8 kB / 436.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007308/0.2356, allocations: 0.6847 MB / 437.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2359, allocations: 130.9 kB / 437.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.2361, allocations: 267 kB / 437.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.2365, allocations: 298.7 kB / 438 MB, free: 500 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.136e-05/0.2366, allocations: 56 kB / 438 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2367, allocations: 60 kB / 438.1 MB, free: 384 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.2368, allocations: 119.6 kB / 438.2 MB, free: 264 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000256/0.237, allocations: 262.8 kB / 438.5 MB, free: 0 / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006982/0.2377, allocations: 0.7004 MB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2377, allocations: 0 / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2377, allocations: 0 / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2377, allocations: 0 / 439.2 MB, free: 15.3 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.001469/0.2392, allocations: 0.8333 MB / 440 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2392, allocations: 12.03 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.233e-05/0.2393, allocations: 16.78 kB / 440 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.2394, allocations: 75.72 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.2395, allocations: 72.52 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.2402, allocations: 385.3 kB / 440.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.2403, allocations: 114.7 kB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.2404, allocations: 44.08 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.2415, allocations: 0.8629 MB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2415, allocations: 3.938 kB / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.2415, allocations: 16 kB / 441.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2416, allocations: 12 kB / 441.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.2424, allocations: 359.7 kB / 442 MB, free: 12.27 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.002001/0.2444, allocations: 1.058 MB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/0.2451, allocations: 351.9 kB / 443.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.2455, allocations: 184.1 kB / 443.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.2456, allocations: 8 kB / 443.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.2456, allocations: 42.56 kB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.813e-06/0.2456, allocations: 4 kB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007442/0.253, allocations: 2.678 MB / 446.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002708/0.2558, allocations: 2.335 MB / 448.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.2564, allocations: 462 kB / 449.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/0.2565, allocations: 37.7 kB / 449.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.2567, allocations: 244.9 kB / 449.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.2569, allocations: 222.1 kB / 449.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.2571, allocations: 106.3 kB / 449.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.2574, allocations: 378.7 kB / 450 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.2581, allocations: 306.8 kB / 450.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.2591, allocations: 0.8367 MB / 451.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.2604, allocations: 0.613 MB / 451.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2604, allocations: 0 / 451.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002126/0.2626, allocations: 0.9212 MB / 452.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.2626, allocations: 33.7 kB / 452.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.2626, allocations: 0 / 452.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.263, allocations: 175.3 kB / 452.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.2636, allocations: 143.8 kB / 453 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005465/0.2691, allocations: 5.669 MB / 458.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006765/0.2698, allocations: 60.19 kB / 458.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.2698, allocations: 16.47 kB / 458.8 MB, free: 10.39 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.000314/0.2701, allocations: 193.6 kB / 459 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2703, allocations: 67.62 kB / 459 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.2704, allocations: 65.42 kB / 459.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.2704, allocations: 11.98 kB / 459.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2704, allocations: 3.938 kB / 459.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002114/0.2725, allocations: 1.186 MB / 460.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.2759, allocations: 1.63 MB / 461.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2759, allocations: 0 / 461.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.2765, allocations: 131.8 kB / 462.1 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004997/0.277, allocations: 214.5 kB / 462.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.277, allocations: 15.94 kB / 462.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005106/0.2821, allocations: 4.802 MB / 467.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001553/0.2837, allocations: 1.626 MB / 468.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.2865, allocations: 1.328 MB / 470 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.2868, allocations: 123.6 kB / 470.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.2869, allocations: 15.94 kB / 470.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.2874, allocations: 47.94 kB / 470.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.2876, allocations: 68.39 kB / 470.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.2876, allocations: 15.98 kB / 470.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003873/0.288, allocations: 323.1 kB / 470.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.288, allocations: 0 / 470.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006745/0.2887, allocations: 204 kB / 470.8 MB, free: 13.66 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.003205/0.2919, allocations: 1.895 MB / 472.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.2942, allocations: 1.214 MB / 473.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2942, allocations: 0 / 473.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.2955, allocations: 0.7174 MB / 474.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/0.2963, allocations: 161.9 kB / 474.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00987/0.3061, allocations: 6.136 MB / 480.9 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3064, allocations: 268.9 kB / 481.2 MB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.3067, allocations: 72.94 kB / 481.3 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.3071, allocations: 207.4 kB / 481.5 MB, free: 2.66 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3071, allocations: 0 / 481.5 MB, free: 2.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05569/0.3627, allocations: 19.72 MB / 0.4895 GB, free: 15.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.66, allocations: 8 kB / 0.4895 GB, free: 15.35 MB / 414.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.914070731960237] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.841314562014304 13.855443953 13.614888883 Calling exit ...