Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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 trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2332/0.2332, allocations: 46.11 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica 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.00226/0.00226, allocations: 79.81 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1172, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00246/0.1197, allocations: 1.205 MB / 481.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006561/0.1204, allocations: 332.1 kB / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.103e-05/0.1204, allocations: 0 / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.1204, allocations: 3.938 kB / 481.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.868e-05/0.1204, allocations: 0 / 481.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.1209, allocations: 59.81 kB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.1209, allocations: 3.984 kB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.121, allocations: 4 kB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.121, allocations: 4 kB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1212, allocations: 39.95 kB / 481.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.1212, allocations: 0 / 481.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.539e-06/0.1212, allocations: 0 / 481.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.1213, allocations: 0 / 481.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.1213, allocations: 3.938 kB / 481.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.768e-05/0.1213, allocations: 7.938 kB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1213, allocations: 0 / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1213, allocations: 0 / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1214, allocations: 0 / 481.9 MB, free: 3.465 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000282/0.1216, allocations: 319.6 kB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1217, allocations: 8.031 kB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.1217, allocations: 30.75 kB / 482.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.911e-05/0.1217, allocations: 4.938 kB / 482.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1219, allocations: 164.4 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.1219, allocations: 384 / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.1219, allocations: 384 / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.037e-05/0.122, allocations: 34.19 kB / 482.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.122, allocations: 7.938 kB / 482.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.122, allocations: 4 kB / 482.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.122, allocations: 0 / 482.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.349e-05/0.122, allocations: 0 / 482.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.1223, allocations: 375.5 kB / 482.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.1225, allocations: 177 kB / 483 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.1225, allocations: 88.12 kB / 483.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.716e-05/0.1226, allocations: 75.28 kB / 483.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/0.1227, allocations: 109.9 kB / 483.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.1227, allocations: 0 / 483.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.959e-05/0.1228, allocations: 25.7 kB / 483.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1229, allocations: 126.7 kB / 483.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.123, allocations: 98.14 kB / 483.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.123, allocations: 29.64 kB / 483.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.1231, allocations: 88.08 kB / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.1231, allocations: 0 / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1231, allocations: 13.62 kB / 483.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1233, allocations: 314.8 kB / 483.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.1233, allocations: 4 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-06/0.1233, allocations: 0 / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.1233, allocations: 9.047 kB / 483.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1233, allocations: 3.938 kB / 483.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.607e-05/0.1234, allocations: 37.7 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1235, allocations: 7.938 kB / 484 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1235, allocations: 0 / 484 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1235, allocations: 0 / 484 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.1235, allocations: 3.938 kB / 484 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1235, allocations: 4 kB / 484 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.1236, allocations: 3.984 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.1236, allocations: 7.969 kB / 484 MB, free: 1.094 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001032/0.1237, allocations: 185.1 kB / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.1238, allocations: 101 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.1238, allocations: 108.1 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-05/0.1239, allocations: 184.2 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.622e-05/0.124, allocations: 184.2 kB / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.588e-05/0.1241, allocations: 188.2 kB / 484.9 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1244, allocations: 397.2 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-05/0.1244, allocations: 104.9 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.1245, allocations: 105 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.984e-05/0.1246, allocations: 184.3 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.983e-05/0.1247, allocations: 184.2 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.932e-05/0.1248, allocations: 176.3 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.622e-05/0.1249, allocations: 184.4 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.125, allocations: 311.8 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1251, allocations: 186 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/0.1252, allocations: 180.3 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.1253, allocations: 108.9 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.1254, allocations: 180.2 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.1255, allocations: 113 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.1255, allocations: 75.28 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1255, allocations: 96 / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1257, allocations: 4 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0004599/0.1262, allocations: 0.8087 MB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.244e-05/0.1263, allocations: 0 / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1263, allocations: 64 / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/0.1263, allocations: 8 kB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.1268, allocations: 460.7 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.1271, allocations: 186.4 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1275, allocations: 0.6729 MB / 489.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.511e-05/0.1275, allocations: 11.94 kB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.1275, allocations: 11.44 kB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1275, allocations: 0 / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.1497, allocations: 0.8802 MB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.148, allocations: 8.688 kB / 490.4 MB, free: 10.49 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)