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.001181/0.001181, allocations: 111.8 kB / 18.49 MB, free: 4.562 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.001174/0.001174, allocations: 194.6 kB / 21.43 MB, free: 1.633 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.324/1.324, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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.001492/0.001492, allocations: 55.92 kB / 366.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08927, allocations: 52.14 MB / 418.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005018/0.09429, allocations: 3.686 MB / 422.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.09605, allocations: 0.9891 MB / 423.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.09635, allocations: 7.938 kB / 423.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.0967, allocations: 111 kB / 423.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.09718, allocations: 198.4 kB / 423.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.09751, allocations: 131.8 kB / 423.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009054/0.09841, allocations: 0.6808 MB / 424.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.09867, allocations: 126.3 kB / 424.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.09902, allocations: 263 kB / 424.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.09941, allocations: 298.8 kB / 424.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.545e-05/0.0995, allocations: 56 kB / 425 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.09961, allocations: 63.94 kB / 425.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.09972, allocations: 119.6 kB / 425.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.1, allocations: 314.5 kB / 425.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007418/0.1008, allocations: 0.6925 MB / 426.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1008, allocations: 4 kB / 426.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1008, allocations: 0 / 426.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.1008, allocations: 0 / 426.2 MB, free: 4.941 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.001587/0.1024, allocations: 0.9085 MB / 427.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1024, allocations: 8.031 kB / 427.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.756e-05/0.1025, allocations: 12.83 kB / 427.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.1026, allocations: 83.67 kB / 427.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.1027, allocations: 64.56 kB / 427.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007288/0.1034, allocations: 455.1 kB / 427.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.913e-05/0.1035, allocations: 59.25 kB / 427.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.1036, allocations: 44.06 kB / 427.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008651/0.1045, allocations: 0.4925 MB / 428.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.1045, allocations: 7.938 kB / 428.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.1045, allocations: 16 kB / 428.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1045, allocations: 8 kB / 428.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008409/0.1054, allocations: 347.8 kB / 428.7 MB, free: 2.297 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.00213/0.1075, allocations: 1.351 MB / 430 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008245/0.1083, allocations: 424 kB / 430.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.1088, allocations: 180.8 kB / 430.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1088, allocations: 8 kB / 430.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1088, allocations: 38.56 kB / 430.7 MB, free: 176 kB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.1088, allocations: 3.938 kB / 430.7 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007968/0.1168, allocations: 2.903 MB / 433.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00267/0.1195, allocations: 2.465 MB / 436 MB, free: 10.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.12, allocations: 453.9 kB / 436.5 MB, free: 10 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.1201, allocations: 41.7 kB / 436.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.1203, allocations: 249 kB / 436.8 MB, free: 9.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.1204, allocations: 218.1 kB / 437 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.1207, allocations: 114.2 kB / 437.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1208, allocations: 370.7 kB / 437.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.1215, allocations: 284.9 kB / 437.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/0.1224, allocations: 436.6 kB / 438.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.1238, allocations: 0.6118 MB / 438.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1238, allocations: 0.7812 kB / 438.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002047/0.1258, allocations: 0.89 MB / 439.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.1259, allocations: 33.7 kB / 439.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1259, allocations: 0 / 439.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.1262, allocations: 183.3 kB / 439.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.1269, allocations: 139.8 kB / 440 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.156/0.2829, allocations: 6.097 MB / 446.1 MB, free: 29.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/0.2836, allocations: 59.28 kB / 446.1 MB, free: 29.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.2837, allocations: 22.88 kB / 446.2 MB, free: 29.08 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.0002404/0.2839, allocations: 189.3 kB / 446.4 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.284, allocations: 66.05 kB / 446.4 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.2841, allocations: 70.73 kB / 446.5 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2842, allocations: 6.312 kB / 446.5 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2842, allocations: 2.844 kB / 446.5 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001763/0.2859, allocations: 1.186 MB / 447.7 MB, free: 28.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.2887, allocations: 1.823 MB / 449.5 MB, free: 28.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2887, allocations: 3.094 kB / 449.5 MB, free: 28.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.2892, allocations: 126 kB / 449.6 MB, free: 28.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/0.2897, allocations: 210.8 kB / 449.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.2897, allocations: 14.73 kB / 449.9 MB, free: 28.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003652/0.2934, allocations: 5.141 MB / 455 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001013/0.2944, allocations: 1.748 MB / 456.7 MB, free: 22.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.2971, allocations: 1.327 MB / 458.1 MB, free: 22.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.2973, allocations: 198.1 kB / 458.3 MB, free: 21.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.2974, allocations: 17.75 kB / 458.3 MB, free: 21.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.298, allocations: 56.33 kB / 458.3 MB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.2981, allocations: 56.66 kB / 458.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.2982, allocations: 12.44 kB / 458.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003276/0.2985, allocations: 330.2 kB / 458.7 MB, free: 21.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2985, allocations: 0 / 458.7 MB, free: 21.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007481/0.2992, allocations: 205.5 kB / 458.9 MB, free: 21.75 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.002938/0.3022, allocations: 1.898 MB / 460.8 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.3042, allocations: 1.187 MB / 462 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3042, allocations: 2.094 kB / 462 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.3054, allocations: 0.7106 MB / 462.7 MB, free: 19.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.306, allocations: 152.9 kB / 462.9 MB, free: 19.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008395/0.3144, allocations: 6.048 MB / 468.9 MB, free: 16.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3147, allocations: 0.8702 MB / 469.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000304/0.315, allocations: 78.41 kB / 469.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.3153, allocations: 206.8 kB / 470.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3153, allocations: 1.375 kB / 470.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.3615, allocations: 18.09 MB / 488.2 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.77, allocations: 5.719 kB / 488.2 MB, free: 5.883 MB / 366.1 MB " [Timeout remaining time 647] (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.262127259979025] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 12.937174669990782 12.948536177 12.84503031 Calling exit ...