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.001388/0.001388, allocations: 109 kB / 19.74 MB, free: 2.586 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.001548/0.001548, allocations: 215 kB / 22.92 MB, free: 5.559 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.304/1.304, allocations: 230.5 MB / 256.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 179] 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.00181/0.00181, allocations: 67.89 kB / 376.1 MB, free: 4.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2073, allocations: 53.31 MB / 429.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002597/0.2099, allocations: 1.648 MB / 431 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00085/0.2108, allocations: 0.5533 MB / 431.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.2108, allocations: 4 kB / 431.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.734e-05/0.2109, allocations: 7.922 kB / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.2109, allocations: 31.7 kB / 431.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.2111, allocations: 31.95 kB / 431.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.2113, allocations: 99.53 kB / 431.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2114, allocations: 31.92 kB / 431.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/0.2114, allocations: 35.91 kB / 431.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.2115, allocations: 35.86 kB / 431.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.2116, allocations: 8 kB / 431.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.2116, allocations: 16 kB / 431.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.2117, allocations: 19.92 kB / 431.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.2117, allocations: 39.86 kB / 431.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.2119, allocations: 100 kB / 432 MB, free: 4.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2119, allocations: 0 / 432 MB, free: 4.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2119, allocations: 7.875 kB / 432 MB, free: 4.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2119, allocations: 4 kB / 432 MB, free: 4.805 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.0004779/0.2124, allocations: 383.2 kB / 432.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2124, allocations: 8.031 kB / 432.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.2124, allocations: 42.75 kB / 432.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.2125, allocations: 20.81 kB / 432.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2127, allocations: 164.3 kB / 432.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2127, allocations: 4.375 kB / 432.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.2127, allocations: 12.38 kB / 432.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.2128, allocations: 89.78 kB / 432.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2129, allocations: 0 / 432.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2129, allocations: 0 / 432.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2129, allocations: 7.938 kB / 432.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.213, allocations: 51.97 kB / 432.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.2136, allocations: 404.5 kB / 433.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.2137, allocations: 70.56 kB / 433.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.2138, allocations: 28.84 kB / 433.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.2138, allocations: 4.156 kB / 433.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2138, allocations: 30.56 kB / 433.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.2138, allocations: 0 / 433.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002117/0.214, allocations: 89.55 kB / 433.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2141, allocations: 63.39 kB / 433.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.2141, allocations: 110 kB / 433.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2142, allocations: 25.7 kB / 433.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.2142, allocations: 104 kB / 433.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.2143, allocations: 31.73 kB / 433.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.2143, allocations: 25.72 kB / 433.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2144, allocations: 314.8 kB / 434.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-05/0.2145, allocations: 20 kB / 434.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.2145, allocations: 49.19 kB / 434.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.2146, allocations: 78.38 kB / 434.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2146, allocations: 0 / 434.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001525/0.2148, allocations: 105.6 kB / 434.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2148, allocations: 8 kB / 434.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.2148, allocations: 64 / 434.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2148, allocations: 7.938 kB / 434.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.2149, allocations: 23.98 kB / 434.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2149, allocations: 7.938 kB / 434.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.215, allocations: 7.938 kB / 434.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.215, allocations: 4 kB / 434.4 MB, free: 2.211 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 8.219e-05/0.2151, allocations: 113.8 kB / 434.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.2151, allocations: 7.953 kB / 434.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.2151, allocations: 20.23 kB / 434.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2151, allocations: 4 kB / 434.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2151, allocations: 0 / 434.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2151, allocations: 0 / 434.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.2153, allocations: 193.6 kB / 434.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2153, allocations: 3.984 kB / 434.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/0.2154, allocations: 16 kB / 434.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2154, allocations: 0 / 434.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2154, allocations: 3.938 kB / 434.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2154, allocations: 4.188 kB / 434.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2154, allocations: 0 / 434.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.2156, allocations: 199.8 kB / 434.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.2157, allocations: 89.03 kB / 435 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.2157, allocations: 3.938 kB / 435 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.2158, allocations: 0 / 435 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.2158, allocations: 11.98 kB / 435 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2158, allocations: 0 / 435 MB, free: 1.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.959e-05/0.2158, allocations: 79.28 kB / 435.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2158, allocations: 0 / 435.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.216, allocations: 28.06 kB / 435.1 MB, free: 1.355 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.0004446/0.2165, allocations: 0.732 MB / 435.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2166, allocations: 55.86 kB / 435.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2166, allocations: 0 / 435.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.2167, allocations: 24.19 kB / 436 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.2169, allocations: 11.92 kB / 436 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.2184, allocations: 1.541 MB / 437.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2187, allocations: 0.6963 MB / 438.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.167e-05/0.2187, allocations: 11.94 kB / 438.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.2187, allocations: 19.44 kB / 438.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2187, allocations: 0 / 438.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.2423, allocations: 1.807 MB / 440 MB, free: 12.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/7.029, allocations: 3.938 kB / 440 MB, free: 12.4 MB / 350.1 MB " [Timeout remaining time 653] (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 --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: 9.111903040997277]