Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.689/1.689, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009569/0.0009571, allocations: 101.8 kB / 286.7 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.551e-05, allocations: 7.984 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.571/1.706, allocations: 0.5056 GB / 1.01 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/1.706, allocations: 87.94 kB / 1.01 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.722/3.429, allocations: 381.2 MB / 1.382 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/3.429, allocations: 0 / 1.382 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001811/3.429, allocations: 36.44 kB / 1.382 GB, free: 63.62 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006328/3.435, allocations: 1.737 MB / 1.384 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/3.435, allocations: 10.19 kB / 1.384 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/3.437, allocations: 215.3 kB / 1.384 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/3.439, allocations: 0.8694 MB / 1.385 GB, free: 62.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/3.439, allocations: 27.44 kB / 1.385 GB, free: 62.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/3.439, allocations: 40.5 kB / 1.385 GB, free: 62.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001904/3.441, allocations: 1.035 MB / 1.386 GB, free: 62.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/3.443, allocations: 1.119 MB / 1.387 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/3.443, allocations: 7.469 kB / 1.387 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/3.443, allocations: 2.312 kB / 1.387 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/3.443, allocations: 82.69 kB / 1.387 GB, free: 62.54 MB / 0.5261 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.008902/3.452, allocations: 5.011 MB / 1.392 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009392/3.453, allocations: 0.5172 MB / 1.393 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004555/3.453, allocations: 305.8 kB / 1.393 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/3.454, allocations: 345.9 kB / 1.394 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/3.454, allocations: 47.23 kB / 1.394 GB, free: 59.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=56): time 3.286e-06/3.454, allocations: 2.594 kB / 1.394 GB, free: 59.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.009558/3.463, allocations: 2.341 MB / 1.396 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/3.464, allocations: 223.5 kB / 1.396 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/3.464, allocations: 0.6892 MB / 1.397 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.854e-05/3.465, allocations: 25.7 kB / 1.397 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/3.465, allocations: 0.5154 MB / 1.397 GB, free: 58.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/3.465, allocations: 208 kB / 1.397 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/3.465, allocations: 3.75 kB / 1.397 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/3.465, allocations: 347.2 kB / 1.398 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/3.466, allocations: 390.8 kB / 1.398 GB, free: 58.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/3.466, allocations: 0.5946 MB / 1.399 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/3.47, allocations: 1.064 MB / 1.4 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/3.47, allocations: 3.812 kB / 1.4 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004966/3.475, allocations: 1.886 MB / 1.402 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005773/3.475, allocations: 2.185 MB / 1.404 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/3.475, allocations: 7.938 kB / 1.404 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/3.477, allocations: 480.3 kB / 1.404 GB, free: 55.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/3.478, allocations: 184.2 kB / 1.404 GB, free: 55.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/3.48, allocations: 1.445 MB / 1.406 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/3.482, allocations: 53.42 kB / 1.406 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/3.482, allocations: 93.27 kB / 1.406 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/3.482, allocations: 2.531 kB / 1.406 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004274/3.486, allocations: 1.572 MB / 1.407 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/3.486, allocations: 3.625 kB / 1.407 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/3.488, allocations: 325.1 kB / 1.408 GB, free: 54.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/3.488, allocations: 205.8 kB / 1.408 GB, free: 54.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008975/3.489, allocations: 0.9899 MB / 1.409 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/3.49, allocations: 55.34 kB / 1.409 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/3.491, allocations: 92.27 kB / 1.409 GB, free: 54.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003527/3.491, allocations: 125.8 kB / 1.409 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001819/3.493, allocations: 0.8054 MB / 1.41 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/3.493, allocations: 104.8 kB / 1.41 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/3.496, allocations: 1.326 MB / 1.411 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/3.496, allocations: 3.656 kB / 1.411 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/3.496, allocations: 3.25 kB / 1.411 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/3.496, allocations: 3.234 kB / 1.411 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/3.499, allocations: 1.819 MB / 1.413 GB, free: 53.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/3.499, allocations: 6.719 kB / 1.413 GB, free: 53.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/3.499, allocations: 151.5 kB / 1.413 GB, free: 53.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.923e-05/3.5, allocations: 22.89 kB / 1.413 GB, free: 53.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/3.5, allocations: 22.62 kB / 1.413 GB, free: 53.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006961/3.5, allocations: 1.236 MB / 1.415 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/3.5, allocations: 4.406 kB / 1.415 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/3.503, allocations: 1.38 MB / 1.416 GB, free: 52.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/3.503, allocations: 185.7 kB / 1.416 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/3.503, allocations: 3.469 kB / 1.416 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/3.504, allocations: 45.12 kB / 1.416 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/3.504, allocations: 50.86 kB / 1.416 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/3.504, allocations: 60.17 kB / 1.416 GB, free: 52.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007013/3.505, allocations: 0.5202 MB / 1.417 GB, free: 51.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/3.505, allocations: 0 / 1.417 GB, free: 51.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004038/3.509, allocations: 1.124 MB / 1.418 GB, free: 51.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006511/3.515, allocations: 3.939 MB / 1.422 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002525/3.518, allocations: 1.447 MB / 1.423 GB, free: 50.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/3.518, allocations: 6.516 kB / 1.423 GB, free: 50.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006417/3.519, allocations: 476.8 kB / 1.424 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/3.521, allocations: 465.1 kB / 1.424 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/3.527, allocations: 1.925 MB / 1.426 GB, free: 49.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/3.527, allocations: 1.098 MB / 1.427 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003356/3.531, allocations: 1.351 MB / 1.428 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009388/3.532, allocations: 448.8 kB / 1.429 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.994e-06/3.532, allocations: 0 / 1.429 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09973/3.631, allocations: 47.48 MB / 1.475 GB, free: 46.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/3.632, allocations: 197.5 kB / 1.475 GB, free: 46.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.964/7.596, allocations: 0 / 1.475 GB, free: 46.6 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)