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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.526/1.526, allocations: 227.7 MB / 247 MB, free: 10.37 MB / 206.1 MB 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.001937/0.001937, allocations: 74.38 kB / 307.3 MB, free: 428 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.126, allocations: 50.53 MB / 357.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003239/0.1293, allocations: 1.63 MB / 359.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009716/0.1303, allocations: 0.5547 MB / 360 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.1304, allocations: 4 kB / 360.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.786e-05/0.1304, allocations: 15.86 kB / 360.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.1305, allocations: 27.78 kB / 360.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1308, allocations: 27.89 kB / 360.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1309, allocations: 103.5 kB / 360.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.1311, allocations: 31.92 kB / 360.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.1312, allocations: 35.92 kB / 360.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.1313, allocations: 39.84 kB / 360.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1313, allocations: 8 kB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-05/0.1314, allocations: 12 kB / 360.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.1314, allocations: 15.92 kB / 360.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.1315, allocations: 51.86 kB / 360.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1317, allocations: 99.95 kB / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1317, allocations: 0 / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1317, allocations: 3.938 kB / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1317, allocations: 0 / 360.5 MB, free: 11.2 MB / 302.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.0004957/0.1322, allocations: 383.2 kB / 360.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1322, allocations: 12.03 kB / 360.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.1323, allocations: 34.75 kB / 360.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.1324, allocations: 20.83 kB / 361 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.1326, allocations: 172.3 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1326, allocations: 8.375 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.1326, allocations: 8.375 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1328, allocations: 85.73 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1328, allocations: 3.984 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1328, allocations: 4 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1328, allocations: 4 kB / 361.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.133, allocations: 51.97 kB / 361.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007545/0.1337, allocations: 396.4 kB / 361.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1339, allocations: 66.56 kB / 361.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.1339, allocations: 37 kB / 361.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.134, allocations: 7.984 kB / 361.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.134, allocations: 34.5 kB / 361.8 MB, free: 9.727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.134, allocations: 4 kB / 361.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002334/0.1342, allocations: 85.53 kB / 361.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1343, allocations: 55.39 kB / 362 MB, free: 9.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.1344, allocations: 101.9 kB / 362.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1344, allocations: 29.7 kB / 362.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/0.1345, allocations: 103.9 kB / 362.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1346, allocations: 35.55 kB / 362.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.1346, allocations: 21.72 kB / 362.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1348, allocations: 322.8 kB / 362.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.1349, allocations: 20 kB / 362.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.135, allocations: 45.75 kB / 362.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1351, allocations: 74.5 kB / 362.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1351, allocations: 0 / 362.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001709/0.1353, allocations: 109.5 kB / 362.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1353, allocations: 4 kB / 362.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1353, allocations: 0 / 362.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1353, allocations: 7.938 kB / 362.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1355, allocations: 27.92 kB / 362.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1355, allocations: 0 / 362.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.1355, allocations: 4 kB / 362.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1356, allocations: 12.06 kB / 362.9 MB, free: 8.609 MB / 302.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.000107/0.1357, allocations: 117.8 kB / 363 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.1357, allocations: 4.156 kB / 363 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.1357, allocations: 12.31 kB / 363 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1357, allocations: 7.984 kB / 363 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1358, allocations: 4 kB / 363 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1358, allocations: 0 / 363 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.136, allocations: 185.6 kB / 363.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.136, allocations: 7.969 kB / 363.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1361, allocations: 27.88 kB / 363.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.1361, allocations: 0 / 363.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1362, allocations: 7.938 kB / 363.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1362, allocations: 0 / 363.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1362, allocations: 0 / 363.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1364, allocations: 191.8 kB / 363.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.1365, allocations: 77.11 kB / 363.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1366, allocations: 7.969 kB / 363.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.1366, allocations: 4.062 kB / 363.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.1367, allocations: 3.984 kB / 363.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1367, allocations: 4 kB / 363.5 MB, free: 7.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.308e-05/0.1367, allocations: 87.22 kB / 363.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1367, allocations: 0 / 363.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.137, allocations: 27.91 kB / 363.6 MB, free: 7.754 MB / 302.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.0006621/0.1377, allocations: 0.732 MB / 364.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1379, allocations: 59.86 kB / 364.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1379, allocations: 0 / 364.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.1379, allocations: 27.94 kB / 364.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1383, allocations: 11.98 kB / 364.4 MB, free: 6.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1402, allocations: 1.535 MB / 366 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.1406, allocations: 0.6924 MB / 366.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.1407, allocations: 11.94 kB / 366.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.1407, allocations: 23.44 kB / 366.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1407, allocations: 0 / 366.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.1681, allocations: 1.76 MB / 368.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.09, allocations: 14.86 kB / 368.5 MB, free: 2.824 MB / 302.1 MB (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)