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.001001/0.001001, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008387/0.0008387, allocations: 87.95 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.181/0.181, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.097e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 63.25 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.387, allocations: 0.4956 GB / 1.007 GB, free: 185.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.388, allocations: 95.94 kB / 1.007 GB, free: 185.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7062/2.094, allocations: 237.5 MB / 1.239 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.623e-06/2.094, allocations: 0 / 1.239 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.552e-05/2.094, allocations: 18.02 kB / 1.239 GB, free: 115.9 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.002481/2.096, allocations: 1.053 MB / 1.24 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/2.096, allocations: 12.12 kB / 1.24 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/2.097, allocations: 85.84 kB / 1.24 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/2.098, allocations: 169.8 kB / 1.24 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/2.099, allocations: 0.4904 MB / 1.241 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/2.099, allocations: 31.44 kB / 1.241 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/2.099, allocations: 41.03 kB / 1.241 GB, free: 115.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009496/2.1, allocations: 0.6477 MB / 1.242 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/2.1, allocations: 2.25 kB / 1.242 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/2.1, allocations: 21.22 kB / 1.242 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/2.1, allocations: 11 kB / 1.242 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/2.1, allocations: 490 kB / 1.242 GB, free: 114.9 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.002446/2.103, allocations: 2.627 MB / 1.245 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/2.103, allocations: 315.9 kB / 1.245 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/2.104, allocations: 154.6 kB / 1.245 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/2.104, allocations: 432.7 kB / 1.245 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/2.104, allocations: 42.12 kB / 1.246 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.425e-06/2.104, allocations: 3.938 kB / 1.246 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0009422/2.105, allocations: 473.4 kB / 1.246 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/2.105, allocations: 157 kB / 1.246 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/2.106, allocations: 463.5 kB / 1.247 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/2.106, allocations: 33.45 kB / 1.247 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/2.106, allocations: 306 kB / 1.247 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/2.106, allocations: 122.1 kB / 1.247 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/2.106, allocations: 10.38 kB / 1.247 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/2.106, allocations: 373 kB / 1.247 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/2.106, allocations: 134.7 kB / 1.248 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/2.106, allocations: 304.2 kB / 1.248 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/2.107, allocations: 185.5 kB / 1.248 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/2.107, allocations: 0 / 1.248 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007874/2.108, allocations: 0.543 MB / 1.249 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/2.108, allocations: 5.875 kB / 1.249 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/2.108, allocations: 7.609 kB / 1.249 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/2.109, allocations: 237.2 kB / 1.249 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/2.109, allocations: 125.1 kB / 1.249 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003347/2.11, allocations: 0.5862 MB / 1.249 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/2.11, allocations: 68.77 kB / 1.25 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/2.11, allocations: 56.55 kB / 1.25 GB, free: 110.9 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 () * 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.0001109/2.11, allocations: 133.9 kB / 1.25 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/2.11, allocations: 56.72 kB / 1.25 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/2.112, allocations: 1.057 MB / 1.251 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/2.112, allocations: 0 / 1.251 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/2.112, allocations: 3.188 kB / 1.251 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/2.112, allocations: 0 / 1.251 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009873/2.113, allocations: 0.9447 MB / 1.252 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/2.113, allocations: 2.906 kB / 1.252 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/2.113, allocations: 49.06 kB / 1.252 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/2.114, allocations: 233.5 kB / 1.252 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/2.114, allocations: 10.81 kB / 1.252 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002569/2.114, allocations: 0.5816 MB / 1.253 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.114, allocations: 3.812 kB / 1.253 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/2.115, allocations: 0.5211 MB / 1.253 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/2.115, allocations: 158.2 kB / 1.253 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/2.115, allocations: 16.17 kB / 1.253 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/2.116, allocations: 26.64 kB / 1.253 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/2.116, allocations: 38.91 kB / 1.253 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/2.116, allocations: 22.78 kB / 1.253 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003752/2.116, allocations: 407.5 kB / 1.254 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/2.116, allocations: 0 / 1.254 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001127/2.117, allocations: 382.7 kB / 1.254 GB, free: 109.2 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 () * 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.00205/2.119, allocations: 2.503 MB / 1.257 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005709/2.12, allocations: 345 kB / 1.257 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.12, allocations: 0 / 1.257 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/2.12, allocations: 128.6 kB / 1.257 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/2.121, allocations: 344.4 kB / 1.257 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/2.123, allocations: 0.7976 MB / 1.258 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/2.123, allocations: 0.8738 MB / 1.259 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001042/2.124, allocations: 0.5635 MB / 1.259 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/2.124, allocations: 234.8 kB / 1.26 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of SimCode: time 9.12e-07/2.124, allocations: 0 / 1.26 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/2.175, allocations: 36.52 MB / 1.295 GB, free: 99.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/2.175, allocations: 238.5 kB / 1.296 GB, free: 99.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/5.12, allocations: 0 / 1.296 GB, free: 99.18 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)