Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 177.9 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009704/0.00097, allocations: 98.42 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3174/0.3174, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003643, allocations: 8 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4101, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.537, allocations: 0.4946 GB / 1.004 GB, free: 94.65 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/1.537, allocations: 99.91 kB / 1.004 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8432/2.381, allocations: 237.2 MB / 1.236 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/2.381, allocations: 0 / 1.236 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.124e-05/2.381, allocations: 23.92 kB / 1.236 GB, free: 68.91 MB / 0.5261 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.002729/2.383, allocations: 1.142 MB / 1.237 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/2.384, allocations: 8.031 kB / 1.237 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/2.384, allocations: 90.52 kB / 1.237 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/2.385, allocations: 155.1 kB / 1.237 GB, free: 67.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007459/2.386, allocations: 0.4967 MB / 1.238 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/2.386, allocations: 37 kB / 1.238 GB, free: 66.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/2.386, allocations: 40 kB / 1.238 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/2.387, allocations: 0.6581 MB / 1.239 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/2.387, allocations: 0 / 1.239 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/2.387, allocations: 24 kB / 1.239 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/2.387, allocations: 15.95 kB / 1.239 GB, free: 66.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007607/2.388, allocations: 0.4996 MB / 1.239 GB, free: 65.6 MB / 0.5261 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.002522/2.39, allocations: 2.621 MB / 1.242 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/2.391, allocations: 320.1 kB / 1.242 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/2.391, allocations: 441.7 kB / 1.242 GB, free: 61.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/2.391, allocations: 38.56 kB / 1.242 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/2.391, allocations: 0 / 1.242 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001456/2.393, allocations: 0.7059 MB / 1.243 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/2.393, allocations: 162.2 kB / 1.243 GB, free: 60.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/2.393, allocations: 470 kB / 1.244 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/2.393, allocations: 33.7 kB / 1.244 GB, free: 60.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/2.393, allocations: 299.7 kB / 1.244 GB, free: 60.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.886e-05/2.393, allocations: 122.2 kB / 1.244 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/2.393, allocations: 8 kB / 1.244 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001163/2.394, allocations: 374.7 kB / 1.245 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/2.394, allocations: 137.1 kB / 1.245 GB, free: 59.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/2.394, allocations: 322.9 kB / 1.245 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/2.394, allocations: 185.1 kB / 1.245 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/2.394, allocations: 4 kB / 1.245 GB, free: 58.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008287/2.395, allocations: 0.5711 MB / 1.246 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/2.395, allocations: 8 kB / 1.246 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/2.395, allocations: 4 kB / 1.246 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/2.397, allocations: 237.2 kB / 1.246 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/2.397, allocations: 119.9 kB / 1.246 GB, free: 58.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004633/2.397, allocations: 0.5836 MB / 1.247 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/2.398, allocations: 71.31 kB / 1.247 GB, free: 57.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/2.398, allocations: 51.98 kB / 1.247 GB, free: 57.28 MB / 0.5261 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.000274/2.398, allocations: 198.3 kB / 1.247 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/2.398, allocations: 59.25 kB / 1.247 GB, free: 57.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/2.4, allocations: 1.067 MB / 1.248 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/2.4, allocations: 4 kB / 1.248 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/2.4, allocations: 4 kB / 1.248 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/2.4, allocations: 3.953 kB / 1.248 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/2.402, allocations: 0.955 MB / 1.249 GB, free: 54.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/2.402, allocations: 3.984 kB / 1.249 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/2.402, allocations: 51.88 kB / 1.249 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/2.403, allocations: 236.7 kB / 1.249 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/2.403, allocations: 12 kB / 1.249 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003526/2.403, allocations: 0.5797 MB / 1.25 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/2.403, allocations: 7.875 kB / 1.25 GB, free: 53.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/2.404, allocations: 0.5426 MB / 1.25 GB, free: 53.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/2.404, allocations: 164.2 kB / 1.251 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/2.404, allocations: 4 kB / 1.251 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/2.405, allocations: 31.98 kB / 1.251 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/2.405, allocations: 23.91 kB / 1.251 GB, free: 53.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/2.405, allocations: 23.94 kB / 1.251 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004847/2.405, allocations: 406.8 kB / 1.251 GB, free: 52.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/2.405, allocations: 0 / 1.251 GB, free: 52.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001578/2.407, allocations: 387.6 kB / 1.251 GB, free: 52.3 MB / 0.5261 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.003074/2.41, allocations: 2.521 MB / 1.254 GB, free: 49.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008006/2.411, allocations: 363.7 kB / 1.254 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/2.411, allocations: 0 / 1.254 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/2.411, allocations: 140.2 kB / 1.254 GB, free: 49.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/2.413, allocations: 346.2 kB / 1.255 GB, free: 48.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/2.418, allocations: 6.244 MB / 1.261 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/2.418, allocations: 0.8751 MB / 1.262 GB, free: 41.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001162/2.419, allocations: 0.571 MB / 1.262 GB, free: 41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/2.42, allocations: 227.3 kB / 1.262 GB, free: 40.78 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/2.42, allocations: 0 / 1.262 GB, free: 40.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05195/2.472, allocations: 33.76 MB / 1.295 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/2.472, allocations: 271.5 kB / 1.296 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/5.861, allocations: 0 / 1.296 GB, free: 6.973 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)