Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_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.001157/0.001157, 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.00194/0.00194, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.11 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 76.66 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09916, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002183/0.1014, allocations: 1.212 MB / 481.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006176/0.102, allocations: 340.1 kB / 481.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.102, allocations: 0 / 481.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.1021, allocations: 3.938 kB / 481.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.892e-05/0.1021, allocations: 0 / 481.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.1025, allocations: 55.81 kB / 481.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.1026, allocations: 4 kB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.1026, allocations: 4 kB / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.1027, allocations: 0 / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1029, allocations: 43.95 kB / 481.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.1029, allocations: 0 / 481.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-06/0.1029, allocations: 0 / 481.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.1029, allocations: 3.984 kB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.103, allocations: 0 / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.927e-05/0.103, allocations: 7.938 kB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.103, allocations: 0 / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.103, allocations: 0 / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.103, allocations: 0 / 481.8 MB, free: 3.535 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.0002589/0.1033, allocations: 311.6 kB / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1033, allocations: 8.031 kB / 482.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.1034, allocations: 30.75 kB / 482.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.1034, allocations: 8.922 kB / 482.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.227e-05/0.1035, allocations: 160.4 kB / 482.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1035, allocations: 4.375 kB / 482.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.1035, allocations: 4.312 kB / 482.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.784e-05/0.1036, allocations: 30.2 kB / 482.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1036, allocations: 3.938 kB / 482.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1036, allocations: 8 kB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1036, allocations: 0 / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.1037, allocations: 0 / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.1039, allocations: 379.5 kB / 482.7 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.765e-05/0.104, allocations: 173 kB / 482.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.1041, allocations: 88.12 kB / 483 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1041, allocations: 75.28 kB / 483.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.1042, allocations: 109.8 kB / 483.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1042, allocations: 0 / 483.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.291e-05/0.1042, allocations: 29.7 kB / 483.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.1043, allocations: 130.7 kB / 483.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.1044, allocations: 98.08 kB / 483.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1044, allocations: 25.7 kB / 483.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.1044, allocations: 84.08 kB / 483.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.1044, allocations: 4 kB / 483.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1045, allocations: 13.62 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.1045, allocations: 314.8 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.1046, allocations: 0 / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.1046, allocations: 4 kB / 483.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.922e-05/0.1046, allocations: 9.047 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1046, allocations: 7.875 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.969e-05/0.1047, allocations: 33.69 kB / 483.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1047, allocations: 8 kB / 483.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1047, allocations: 0 / 483.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1047, allocations: 0 / 483.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.013e-05/0.1048, allocations: 3.938 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.1048, allocations: 0 / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.1048, allocations: 4 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.1048, allocations: 32 / 483.9 MB, free: 1.176 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 7.556e-05/0.1049, allocations: 193.1 kB / 484.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.1049, allocations: 101 kB / 484.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.105, allocations: 116.1 kB / 484.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/0.1051, allocations: 180.3 kB / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/0.1051, allocations: 180.3 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.21e-05/0.1052, allocations: 184.2 kB / 484.8 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1054, allocations: 409.2 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/0.1055, allocations: 104.9 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.1055, allocations: 101 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.113e-05/0.1055, allocations: 176.3 kB / 485.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.1056, allocations: 196.1 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.592e-05/0.1057, allocations: 176.3 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-05/0.1057, allocations: 184.4 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1058, allocations: 303.8 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.1059, allocations: 186 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.106, allocations: 188.3 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1061, allocations: 104.9 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.1061, allocations: 176.3 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.1062, allocations: 105 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.163e-05/0.1062, allocations: 83.27 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1062, allocations: 0 / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1064, allocations: 8.031 kB / 487.3 MB, free: 13.57 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.0003423/0.1068, allocations: 0.797 MB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.188e-05/0.1068, allocations: 4 kB / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1068, allocations: 0 / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.925e-06/0.1068, allocations: 8 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1072, allocations: 466.1 kB / 488.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.1075, allocations: 182.4 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1077, allocations: 0.669 MB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.444e-05/0.1078, allocations: 4 kB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.1078, allocations: 11.44 kB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1078, allocations: 0 / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.1245, allocations: 0.8816 MB / 490.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.094, allocations: 6.766 kB / 490.3 MB, free: 10.55 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)