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.001909/0.001909, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002172/0.002172, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.52/1.52, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.002688/0.002688, allocations: 63.89 kB / 373.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.118, allocations: 53.32 MB / 426.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003093/0.1211, allocations: 1.653 MB / 428.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1221, allocations: 0.5416 MB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.1222, allocations: 4 kB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.055e-05/0.1223, allocations: 7.922 kB / 429.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.656e-05/0.1223, allocations: 31.7 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1226, allocations: 31.95 kB / 429.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1227, allocations: 103.5 kB / 429.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1229, allocations: 27.98 kB / 429.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.123, allocations: 31.92 kB / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1231, allocations: 43.83 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1231, allocations: 11.94 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.1232, allocations: 16 kB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.1232, allocations: 15.98 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.1232, allocations: 39.81 kB / 429.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1234, allocations: 99.61 kB / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1234, allocations: 0 / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1234, allocations: 8 kB / 429.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1234, allocations: 0 / 429.5 MB, free: 2.215 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005551/0.124, allocations: 379.2 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.124, allocations: 8.031 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.1241, allocations: 46.73 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.1242, allocations: 12.89 kB / 430 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1244, allocations: 172.2 kB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.1244, allocations: 4.375 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.1244, allocations: 16.38 kB / 430.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.1247, allocations: 87.84 kB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1247, allocations: 0 / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1247, allocations: 11.94 kB / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1247, allocations: 0 / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1248, allocations: 51.91 kB / 430.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.1256, allocations: 404.4 kB / 430.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1257, allocations: 74.55 kB / 430.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.1258, allocations: 28.84 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1258, allocations: 4 kB / 430.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1258, allocations: 30.56 kB / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1258, allocations: 0 / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002585/0.1261, allocations: 97.69 kB / 430.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.1262, allocations: 59.41 kB / 431 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.1262, allocations: 106 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1263, allocations: 25.7 kB / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.1263, allocations: 103.9 kB / 431.2 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1264, allocations: 31.73 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.1264, allocations: 29.7 kB / 431.3 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1869/0.3133, allocations: 310.8 kB / 431.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.3134, allocations: 20.64 kB / 431.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.3134, allocations: 48.45 kB / 431.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.621e-05/0.3135, allocations: 62.83 kB / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3135, allocations: 0 / 431.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001863/0.3137, allocations: 110.1 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3138, allocations: 7.422 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3138, allocations: 1.812 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3138, allocations: 2.031 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3139, allocations: 22.59 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.314, allocations: 6.016 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.314, allocations: 8.656 kB / 431.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.314, allocations: 2.656 kB / 431.8 MB, free: 10.83 MB / 350.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 6.985e-05/0.3141, allocations: 121.7 kB / 432 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3141, allocations: 8.891 kB / 432 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.3142, allocations: 10.31 kB / 432 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3142, allocations: 1.438 kB / 432 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3142, allocations: 7.312 kB / 432 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3142, allocations: 1.312 kB / 432 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.3143, allocations: 187.6 kB / 432.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3144, allocations: 2.234 kB / 432.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3145, allocations: 18.12 kB / 432.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3145, allocations: 0.875 kB / 432.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3145, allocations: 1.578 kB / 432.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3145, allocations: 2.094 kB / 432.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3145, allocations: 8.688 kB / 432.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3147, allocations: 200.6 kB / 432.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.3147, allocations: 80.38 kB / 432.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3147, allocations: 1.344 kB / 432.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.3148, allocations: 5.25 kB / 432.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.3148, allocations: 10.77 kB / 432.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.3148, allocations: 2.531 kB / 432.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.125e-05/0.3148, allocations: 84.86 kB / 432.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3148, allocations: 0 / 432.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3151, allocations: 28.38 kB / 432.6 MB, free: 10.22 MB / 350.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.0003316/0.3154, allocations: 0.7225 MB / 433.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.3156, allocations: 53.91 kB / 433.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3156, allocations: 3.531 kB / 433.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.3156, allocations: 25.08 kB / 433.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.3159, allocations: 8.094 kB / 433.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.3172, allocations: 1.548 MB / 435 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.3173, allocations: 0.6912 MB / 435.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.3173, allocations: 8.391 kB / 435.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.3174, allocations: 25.52 kB / 435.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3174, allocations: 0 / 435.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.3438, allocations: 1.816 MB / 437.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.155, allocations: 12.52 kB / 437.5 MB, free: 7.215 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.481031016912311] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.T', 'mass2.T'] 8.222098641097546 8.238804004 8.112081465 Calling exit ...