Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.2 MB / 245 MB, free: 7.648 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009903/0.0009903, allocations: 104.2 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3601/0.3601, allocations: 45.24 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 8 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4286, allocations: 63.24 MB / 0.5193 GB, free: 43.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.217/1.645, allocations: 0.4957 GB / 1.015 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.646, allocations: 103.8 kB / 1.015 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9226/2.568, allocations: 238.1 MB / 1.248 GB, free: 94.44 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.945e-06/2.568, allocations: 0 / 1.248 GB, free: 94.44 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001158/2.568, allocations: 23.88 kB / 1.248 GB, free: 94.42 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00379/2.572, allocations: 1.139 MB / 1.249 GB, free: 93.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/2.572, allocations: 8.031 kB / 1.249 GB, free: 93.22 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00032/2.573, allocations: 94.45 kB / 1.249 GB, free: 93.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/2.574, allocations: 167 kB / 1.249 GB, free: 92.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/2.575, allocations: 0.4928 MB / 1.249 GB, free: 92.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/2.575, allocations: 37 kB / 1.249 GB, free: 92.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.534e-05/2.575, allocations: 44 kB / 1.25 GB, free: 92.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/2.577, allocations: 0.6464 MB / 1.25 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/2.577, allocations: 7.938 kB / 1.25 GB, free: 91.64 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/2.577, allocations: 16 kB / 1.25 GB, free: 91.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/2.577, allocations: 12 kB / 1.25 GB, free: 91.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/2.578, allocations: 0.5035 MB / 1.251 GB, free: 91.1 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/2.581, allocations: 2.629 MB / 1.253 GB, free: 88.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/2.582, allocations: 314.6 kB / 1.254 GB, free: 87.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003973/2.583, allocations: 445.6 kB / 1.254 GB, free: 87.44 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/2.583, allocations: 38.56 kB / 1.254 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.805e-06/2.583, allocations: 0 / 1.254 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.00162/2.584, allocations: 0.7069 MB / 1.255 GB, free: 86.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/2.584, allocations: 158.2 kB / 1.255 GB, free: 86.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/2.585, allocations: 466 kB / 1.255 GB, free: 86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/2.585, allocations: 37.7 kB / 1.255 GB, free: 85.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/2.585, allocations: 295.6 kB / 1.256 GB, free: 85.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.734e-05/2.585, allocations: 130.2 kB / 1.256 GB, free: 85.54 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/2.585, allocations: 4 kB / 1.256 GB, free: 85.54 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001049/2.585, allocations: 366.8 kB / 1.256 GB, free: 85.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/2.586, allocations: 145 kB / 1.256 GB, free: 85.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/2.586, allocations: 324 kB / 1.257 GB, free: 84.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/2.586, allocations: 191.9 kB / 1.257 GB, free: 84.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/2.586, allocations: 4 kB / 1.257 GB, free: 84.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009389/2.587, allocations: 0.5635 MB / 1.257 GB, free: 83.87 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/2.587, allocations: 8 kB / 1.257 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/2.587, allocations: 4 kB / 1.257 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/2.589, allocations: 241.2 kB / 1.258 GB, free: 83.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/2.589, allocations: 119.8 kB / 1.258 GB, free: 83.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000399/2.589, allocations: 0.5914 MB / 1.258 GB, free: 82.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005451/2.59, allocations: 67.36 kB / 1.258 GB, free: 82.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/2.59, allocations: 55.98 kB / 1.258 GB, free: 82.76 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002927/2.59, allocations: 197.7 kB / 1.259 GB, free: 82.56 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/2.591, allocations: 63.25 kB / 1.259 GB, free: 82.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/2.592, allocations: 1.053 MB / 1.26 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/2.592, allocations: 8 kB / 1.26 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/2.592, allocations: 0 / 1.26 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/2.592, allocations: 0 / 1.26 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/2.594, allocations: 0.9679 MB / 1.261 GB, free: 80.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/2.594, allocations: 0 / 1.261 GB, free: 80.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/2.594, allocations: 47.97 kB / 1.261 GB, free: 80.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/2.595, allocations: 236.7 kB / 1.261 GB, free: 80.08 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/2.595, allocations: 11.95 kB / 1.261 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002958/2.595, allocations: 0.5797 MB / 1.261 GB, free: 79.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.595, allocations: 8.016 kB / 1.261 GB, free: 79.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/2.596, allocations: 0.5436 MB / 1.262 GB, free: 78.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/2.596, allocations: 152.3 kB / 1.262 GB, free: 78.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/2.596, allocations: 11.98 kB / 1.262 GB, free: 78.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/2.597, allocations: 31.89 kB / 1.262 GB, free: 78.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/2.597, allocations: 27.91 kB / 1.262 GB, free: 78.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/2.597, allocations: 19.98 kB / 1.262 GB, free: 78.58 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004532/2.597, allocations: 406.8 kB / 1.263 GB, free: 78.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/2.597, allocations: 0 / 1.263 GB, free: 78.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001463/2.599, allocations: 395.5 kB / 1.263 GB, free: 77.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00314/2.602, allocations: 2.53 MB / 1.265 GB, free: 75.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007475/2.603, allocations: 375.5 kB / 1.266 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/2.603, allocations: 0 / 1.266 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/2.603, allocations: 129.5 kB / 1.266 GB, free: 74.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/2.604, allocations: 337.2 kB / 1.266 GB, free: 74.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/2.61, allocations: 6.247 MB / 1.272 GB, free: 67.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/2.61, allocations: 0.8788 MB / 1.273 GB, free: 67.08 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001255/2.611, allocations: 0.571 MB / 1.274 GB, free: 66.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/2.612, allocations: 223.3 kB / 1.274 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of SimCode: time 1.342e-06/2.612, allocations: 0 / 1.274 GB, free: 66.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06148/2.673, allocations: 33.81 MB / 1.307 GB, free: 32.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/2.673, allocations: 264.1 kB / 1.307 GB, free: 32.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.216/5.89, allocations: 0 / 1.307 GB, free: 32.38 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)