Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 47.92 kB / 371.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2148, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00468/0.2195, allocations: 3.715 MB / 427.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.221, allocations: 0.9813 MB / 428.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.2211, allocations: 7.938 kB / 428.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.2214, allocations: 111.1 kB / 428.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.2218, allocations: 198.3 kB / 428.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.2221, allocations: 135.8 kB / 428.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007245/0.2228, allocations: 0.6769 MB / 429.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.223, allocations: 138.5 kB / 429.4 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.2233, allocations: 259.1 kB / 429.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.2237, allocations: 298.7 kB / 429.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.038e-05/0.2237, allocations: 56 kB / 430 MB, free: 8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.2238, allocations: 56 kB / 430 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2239, allocations: 127.6 kB / 430.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.2242, allocations: 310.5 kB / 430.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007168/0.2249, allocations: 0.6976 MB / 431.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2249, allocations: 3.984 kB / 431.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2249, allocations: 0 / 431.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.2249, allocations: 3.938 kB / 431.1 MB, free: 6.809 MB / 334.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.001474/0.2264, allocations: 0.8371 MB / 432 MB, free: 5.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2265, allocations: 8.031 kB / 432 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.276e-05/0.2265, allocations: 8.844 kB / 432 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.2266, allocations: 79.67 kB / 432.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2267, allocations: 68.56 kB / 432.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.2274, allocations: 385.3 kB / 432.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.2275, allocations: 118.6 kB / 432.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.2276, allocations: 36.12 kB / 432.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008574/0.2284, allocations: 0.4981 MB / 433.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2285, allocations: 4 kB / 433.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.2285, allocations: 16 kB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.2285, allocations: 8 kB / 433.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000831/0.2293, allocations: 347.8 kB / 433.5 MB, free: 4.266 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.002162/0.2315, allocations: 1.312 MB / 434.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/0.2323, allocations: 343.7 kB / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.2327, allocations: 184.3 kB / 435.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.2328, allocations: 12 kB / 435.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2328, allocations: 42.56 kB / 435.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.973e-06/0.2328, allocations: 0 / 435.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.007739/0.2405, allocations: 2.68 MB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00246/0.243, allocations: 2.363 MB / 440.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/0.2435, allocations: 450 kB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/0.2436, allocations: 37.8 kB / 440.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.2438, allocations: 248.9 kB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.244, allocations: 222.1 kB / 441.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.2442, allocations: 110.3 kB / 441.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2444, allocations: 366.7 kB / 441.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007042/0.2451, allocations: 277.1 kB / 442.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.2459, allocations: 445.8 kB / 442.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2473, allocations: 0.6207 MB / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2473, allocations: 0 / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002052/0.2493, allocations: 0.8922 MB / 444.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.2494, allocations: 33.7 kB / 444.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2494, allocations: 0 / 444.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003526/0.2497, allocations: 175.3 kB / 444.3 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.2504, allocations: 139.8 kB / 444.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005384/0.2558, allocations: 5.7 MB / 450.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.2564, allocations: 59.98 kB / 450.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.2565, allocations: 23.98 kB / 450.2 MB, free: 2.617 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.000265/0.2567, allocations: 182 kB / 450.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2568, allocations: 67.61 kB / 450.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.257, allocations: 69.41 kB / 450.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.257, allocations: 15.94 kB / 450.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.257, allocations: 0 / 450.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002158/0.2591, allocations: 1.186 MB / 451.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.2626, allocations: 1.79 MB / 453.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2626, allocations: 3.938 kB / 453.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.2632, allocations: 127.8 kB / 453.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/0.2636, allocations: 218.3 kB / 453.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.2637, allocations: 12 kB / 453.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005021/0.2687, allocations: 4.836 MB / 458.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001479/0.2702, allocations: 1.642 MB / 460.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.2731, allocations: 1.324 MB / 461.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.2734, allocations: 119.6 kB / 461.8 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.2735, allocations: 15.94 kB / 461.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.274, allocations: 51.94 kB / 461.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.2742, allocations: 56.39 kB / 461.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/0.2742, allocations: 16.05 kB / 461.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003898/0.2746, allocations: 327.1 kB / 462.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2746, allocations: 0 / 462.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006716/0.2753, allocations: 208 kB / 462.4 MB, free: 5.691 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.003394/0.2787, allocations: 1.895 MB / 464.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002408/0.2811, allocations: 1.185 MB / 465.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2811, allocations: 7.938 kB / 465.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.2825, allocations: 0.7096 MB / 466.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007726/0.2833, allocations: 142 kB / 466.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009997/0.2933, allocations: 6.068 MB / 472.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.2938, allocations: 0.8687 MB / 473.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000314/0.2941, allocations: 76.92 kB / 473.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.2944, allocations: 207.4 kB / 473.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2944, allocations: 0 / 473.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05909/0.3535, allocations: 18.52 MB / 492.1 MB, free: 8.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.5, allocations: 4.062 kB / 492.1 MB, free: 8.02 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.73809540097136] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.68250114703551 13.697751975 13.469711961 Calling exit ...