Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.004602/0.004602, allocations: 114.2 kB / 21.97 MB, free: 5.227 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.001359/0.001359, allocations: 213.2 kB / 25.28 MB, free: 3.246 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.283/1.283, allocations: 207.6 MB / 236 MB, free: 10 MB / 190.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.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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.001676/0.001676, allocations: 52.45 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2411, allocations: 49.16 MB / 397.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00493/0.246, allocations: 5.062 MB / 402.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.2482, allocations: 1.363 MB / 403.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003436/0.2486, allocations: 16.25 kB / 403.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.249, allocations: 154.6 kB / 403.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005706/0.2495, allocations: 334.1 kB / 404.1 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.2499, allocations: 239.6 kB / 404.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.2509, allocations: 1.172 MB / 405.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.2512, allocations: 220.2 kB / 405.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.2517, allocations: 465.7 kB / 406.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004924/0.2522, allocations: 0.5041 MB / 406.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.2523, allocations: 108.3 kB / 406.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.2524, allocations: 105.2 kB / 406.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.2526, allocations: 221 kB / 407.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.253, allocations: 0.5191 MB / 407.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.2542, allocations: 1.205 MB / 408.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2542, allocations: 8 kB / 408.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2542, allocations: 0 / 408.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.2542, allocations: 1.375 kB / 408.8 MB, free: 1.754 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002213/0.2564, allocations: 1.295 MB / 410.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2565, allocations: 13.58 kB / 410.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.512e-05/0.2565, allocations: 18.53 kB / 410.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.2566, allocations: 119.3 kB / 410.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.2568, allocations: 117 kB / 410.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.2577, allocations: 0.5401 MB / 410.9 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.2579, allocations: 310.5 kB / 411.2 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-05/0.258, allocations: 67.09 kB / 411.3 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.2597, allocations: 0.8997 MB / 412.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.2597, allocations: 5.578 kB / 412.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.2598, allocations: 28.06 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.2598, allocations: 14.28 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.2614, allocations: 0.6298 MB / 412.8 MB, free: 15.08 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.004166/0.2655, allocations: 2.143 MB / 415 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.2672, allocations: 0.7319 MB / 415.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/0.268, allocations: 398.8 kB / 416.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.2681, allocations: 18.02 kB / 416.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.2682, allocations: 51.44 kB / 416.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.846e-06/0.2682, allocations: 0 / 416.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=136): time 0.019/0.2872, allocations: 6.25 MB / 422.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00818/0.2953, allocations: 4.787 MB / 427.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009547/0.2963, allocations: 0.6332 MB / 427.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.2966, allocations: 65.69 kB / 427.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.2969, allocations: 334 kB / 428.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005995/0.2975, allocations: 487.7 kB / 428.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005378/0.298, allocations: 238.9 kB / 428.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.2983, allocations: 402.7 kB / 429.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.2998, allocations: 0.6741 MB / 430 MB, free: 1.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.3016, allocations: 0.9913 MB / 431 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.3046, allocations: 1.47 MB / 432.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3046, allocations: 0 / 432.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00616/0.3108, allocations: 2.366 MB / 434.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/0.3109, allocations: 81.11 kB / 434.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.3109, allocations: 8 kB / 434.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/0.3135, allocations: 0.752 MB / 435.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.3146, allocations: 239.6 kB / 435.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.3321, allocations: 13.44 MB / 449.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.3344, allocations: 195.8 kB / 449.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.3346, allocations: 48.14 kB / 449.6 MB, free: 12.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (115): * Single equations (assignments): 102 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,3,88.9%), (1,3,100.0%), (1,7,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (3,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006846/0.3353, allocations: 265.6 kB / 449.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.3357, allocations: 111.3 kB / 449.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.3359, allocations: 118.3 kB / 450.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006176/0.3421, allocations: 2.193 MB / 452.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.3421, allocations: 0 / 452.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006162/0.3483, allocations: 2.55 MB / 454.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.359, allocations: 4.464 MB / 459.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.359, allocations: 0 / 459.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.36, allocations: 219.6 kB / 459.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003827/0.3638, allocations: 1.125 MB / 460.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.364, allocations: 39.95 kB / 460.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/0.3837, allocations: 12.74 MB / 473.4 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007223/0.3909, allocations: 3.729 MB / 477.1 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008415/0.3993, allocations: 3.321 MB / 480.4 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008539/0.4002, allocations: 259.2 kB / 480.7 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.4005, allocations: 36.11 kB / 480.7 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.4022, allocations: 131.8 kB / 480.9 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005325/0.4027, allocations: 149 kB / 481 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.4028, allocations: 39.97 kB / 481 MB, free: 12.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.4036, allocations: 455 kB / 481.5 MB, free: 11.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4036, allocations: 0 / 481.5 MB, free: 11.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002318/0.4059, allocations: 0.582 MB / 482.1 MB, free: 11.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],heatCapacitor1.T,heatCapacitor2.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 (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,3,100.0%), (3,3,88.9%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,15), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00886/0.4147, allocations: 3.912 MB / 486 MB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005179/0.4199, allocations: 2.771 MB / 488.8 MB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4199, allocations: 4.234 kB / 488.8 MB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00413/0.424, allocations: 1.823 MB / 490.6 MB, free: 2.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.4258, allocations: 246.8 kB / 490.8 MB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/0.4508, allocations: 12.01 MB / 0.491 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/0.4516, allocations: 1.057 MB / 0.4921 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007118/0.4523, allocations: 156.5 kB / 0.4922 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007354/0.4531, allocations: 407.2 kB / 0.4926 GB, free: 4.449 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4531, allocations: 0 / 0.4926 GB, free: 4.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/0.576, allocations: 42.01 MB / 0.5336 GB, free: 10.31 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.27, allocations: 7.969 kB / 0.5336 GB, free: 10.3 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.509595236973837] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.461604204960167 15.475790373 15.218741767 Calling exit ...