Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009588/0.0009588, allocations: 74.62 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4626/0.4626, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.423e-05, allocations: 4 kB / 425.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1473, allocations: 58.84 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.696/1.843, allocations: 0.599 GB / 1.072 GB, free: 37.15 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.843, allocations: 84.7 kB / 1.072 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.548/3.392, allocations: 349 MB / 1.413 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.824e-06/3.392, allocations: 0 / 1.413 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.073e-05/3.392, allocations: 30.42 kB / 1.413 GB, free: 82.97 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004603/3.396, allocations: 1.56 MB / 1.414 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/3.396, allocations: 13.28 kB / 1.414 GB, free: 82.08 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/3.397, allocations: 113.8 kB / 1.414 GB, free: 82.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/3.398, allocations: 204.2 kB / 1.415 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/3.4, allocations: 0.8124 MB / 1.415 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/3.4, allocations: 53.42 kB / 1.416 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/3.4, allocations: 67.22 kB / 1.416 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/3.402, allocations: 1.128 MB / 1.417 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/3.402, allocations: 3.938 kB / 1.417 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/3.402, allocations: 36.95 kB / 1.417 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/3.402, allocations: 79.2 kB / 1.417 GB, free: 81.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/3.404, allocations: 1.113 MB / 1.418 GB, free: 81.11 MB / 0.5105 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.007822/3.411, allocations: 4.356 MB / 1.422 GB, free: 78.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/3.413, allocations: 0.7454 MB / 1.423 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/3.414, allocations: 348.7 kB / 1.423 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005681/3.414, allocations: 322.8 kB / 1.424 GB, free: 77.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/3.414, allocations: 41.39 kB / 1.424 GB, free: 77.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001185/3.415, allocations: 130.7 kB / 1.424 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 1.037e-05/3.415, allocations: 0 / 1.424 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.003285/3.419, allocations: 1.075 MB / 1.425 GB, free: 77.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/3.419, allocations: 210.1 kB / 1.425 GB, free: 76.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/3.42, allocations: 0.7775 MB / 1.426 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/3.421, allocations: 37.61 kB / 1.426 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/3.421, allocations: 442.4 kB / 1.426 GB, free: 76.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/3.421, allocations: 220.2 kB / 1.426 GB, free: 76.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/3.421, allocations: 15.94 kB / 1.426 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001176/3.421, allocations: 336.6 kB / 1.427 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/3.422, allocations: 358.5 kB / 1.427 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/3.423, allocations: 0.5404 MB / 1.428 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/3.423, allocations: 452.4 kB / 1.428 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/3.423, allocations: 0 / 1.428 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002446/3.426, allocations: 1.232 MB / 1.429 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006156/3.427, allocations: 1.744 MB / 1.431 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/3.427, allocations: 3.938 kB / 1.431 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004964/3.432, allocations: 0.812 MB / 1.432 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/3.432, allocations: 164.1 kB / 1.432 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/3.434, allocations: 1.179 MB / 1.433 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/3.436, allocations: 68.06 kB / 1.433 GB, free: 71.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/3.436, allocations: 71.44 kB / 1.433 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/3.436, allocations: 3.906 kB / 1.433 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002274/3.438, allocations: 1.021 MB / 1.434 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/3.438, allocations: 3.219 kB / 1.434 GB, free: 71.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006662/3.439, allocations: 162.1 kB / 1.434 GB, free: 71.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/3.44, allocations: 194.3 kB / 1.434 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/3.442, allocations: 2.143 MB / 1.437 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/3.444, allocations: 63.53 kB / 1.437 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/3.444, allocations: 74.09 kB / 1.437 GB, free: 69.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002915/3.444, allocations: 152.8 kB / 1.437 GB, free: 69.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/3.444, allocations: 98.84 kB / 1.437 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/3.447, allocations: 1.292 MB / 1.438 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/3.447, allocations: 7.781 kB / 1.438 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/3.447, allocations: 0 / 1.438 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/3.447, allocations: 7.266 kB / 1.438 GB, free: 68.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/3.45, allocations: 1.926 MB / 1.44 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/3.45, allocations: 7.188 kB / 1.44 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/3.451, allocations: 84.84 kB / 1.44 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00323/3.454, allocations: 0.6786 MB / 1.441 GB, free: 67.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/3.454, allocations: 19.62 kB / 1.441 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/3.455, allocations: 1.174 MB / 1.442 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/3.455, allocations: 0 / 1.442 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/3.457, allocations: 1.15 MB / 1.443 GB, free: 66.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/3.458, allocations: 189.1 kB / 1.443 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/3.458, allocations: 15.34 kB / 1.443 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000914/3.459, allocations: 47.08 kB / 1.443 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/3.459, allocations: 52.67 kB / 1.443 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/3.459, allocations: 45.05 kB / 1.443 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009716/3.46, allocations: 0.6124 MB / 1.444 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/3.46, allocations: 0 / 1.444 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004696/3.465, allocations: 1.227 MB / 1.445 GB, free: 65.68 MB / 0.5105 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 (37): * Single equations (assignments): 36 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.008056/3.473, allocations: 3.821 MB / 1.449 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003389/3.476, allocations: 1.501 MB / 1.45 GB, free: 63.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/3.476, allocations: 3.938 kB / 1.45 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007486/3.477, allocations: 399.7 kB / 1.451 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/3.48, allocations: 0.5435 MB / 1.451 GB, free: 62.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006581/3.487, allocations: 1.771 MB / 1.453 GB, free: 61.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/3.488, allocations: 1.076 MB / 1.454 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002603/3.49, allocations: 0.5054 MB / 1.455 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/3.491, allocations: 334.6 kB / 1.455 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.764e-06/3.491, allocations: 0 / 1.455 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/3.6, allocations: 60.76 MB / 1.514 GB, free: 100 kB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3748/3.975, allocations: 241.4 kB / 1.515 GB, free: 86.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.202/8.177, allocations: 0 / 1.515 GB, free: 86.78 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat