Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00185/0.00185, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002229/0.002229, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 8.035 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 68.75 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.239, allocations: 53.36 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003225/0.2422, allocations: 1.67 MB / 433.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2434, allocations: 0.5493 MB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.2434, allocations: 0 / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.478e-05/0.2435, allocations: 15.86 kB / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.2436, allocations: 27.77 kB / 434.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.2438, allocations: 35.91 kB / 434.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.2439, allocations: 91.59 kB / 434.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.244, allocations: 27.97 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.2441, allocations: 39.86 kB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.2442, allocations: 39.84 kB / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.2442, allocations: 8 kB / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.2443, allocations: 12 kB / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.2443, allocations: 23.92 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.2444, allocations: 47.84 kB / 434.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.2445, allocations: 104.4 kB / 434.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2446, allocations: 0 / 434.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2446, allocations: 0 / 434.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2446, allocations: 3.938 kB / 434.6 MB, free: 4.23 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004854/0.245, allocations: 304.5 kB / 434.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2451, allocations: 8.031 kB / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.2451, allocations: 42.73 kB / 434.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.2452, allocations: 12.89 kB / 434.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2454, allocations: 118.4 kB / 435.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2454, allocations: 4.375 kB / 435.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.2454, allocations: 12.36 kB / 435.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.2456, allocations: 89.73 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2456, allocations: 0 / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2456, allocations: 0 / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.2456, allocations: 4 kB / 435.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.2458, allocations: 51.97 kB / 435.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.2465, allocations: 379.5 kB / 435.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.2466, allocations: 66.55 kB / 435.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.2467, allocations: 32.84 kB / 435.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.2467, allocations: 0 / 435.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2467, allocations: 38.5 kB / 435.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.2467, allocations: 4 kB / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000214/0.2469, allocations: 81.62 kB / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.247, allocations: 51.41 kB / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2471, allocations: 110 kB / 436 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2471, allocations: 25.7 kB / 436 MB, free: 2.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.2472, allocations: 107.9 kB / 436.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.2472, allocations: 35.88 kB / 436.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.2473, allocations: 29.72 kB / 436.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2474, allocations: 318.8 kB / 436.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.2475, allocations: 20 kB / 436.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.2475, allocations: 42.5 kB / 436.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2477, allocations: 74.5 kB / 436.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2477, allocations: 4 kB / 436.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001611/0.2478, allocations: 101.6 kB / 436.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2478, allocations: 6.969 kB / 436.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2479, allocations: 4 kB / 436.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2479, allocations: 3.938 kB / 436.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.248, allocations: 28.17 kB / 436.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.248, allocations: 0 / 436.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.2481, allocations: 12 kB / 436.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.2481, allocations: 4 kB / 436.8 MB, free: 1.844 MB / 334.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.2482, allocations: 121.8 kB / 436.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.2482, allocations: 3.953 kB / 436.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.2483, allocations: 16.31 kB / 436.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2483, allocations: 0 / 436.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2483, allocations: 3.984 kB / 436.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2483, allocations: 0 / 436.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.2485, allocations: 156.7 kB / 437.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2485, allocations: 7.875 kB / 437.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2486, allocations: 23.92 kB / 437.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2486, allocations: 4 kB / 437.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2486, allocations: 7.938 kB / 437.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2486, allocations: 0 / 437.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2486, allocations: 0 / 437.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.2489, allocations: 199.8 kB / 437.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.2489, allocations: 7.984 kB / 437.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2489, allocations: 3.938 kB / 437.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.249, allocations: 0 / 437.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.249, allocations: 15.98 kB / 437.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.249, allocations: 4 kB / 437.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.001e-05/0.2491, allocations: 79.28 kB / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2491, allocations: 0 / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.2493, allocations: 24 kB / 437.4 MB, free: 1.105 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005219/0.2499, allocations: 0.7243 MB / 438.1 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.25, allocations: 51.86 kB / 438.2 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.25, allocations: 4 kB / 438.2 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.25, allocations: 23.94 kB / 438.2 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.2504, allocations: 7.984 kB / 438.2 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.2526, allocations: 1.551 MB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.2529, allocations: 0.6963 MB / 440.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.253, allocations: 3.953 kB / 440.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.253, allocations: 23.44 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.253, allocations: 0 / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.2827, allocations: 1.868 MB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.461, allocations: 7.422 kB / 442.4 MB, free: 12.1 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.995788665954024] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.T', 'mass2.T'] 8.534012282267213 8.562090036 8.312302846 Calling exit ...