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.001489/0.001489, allocations: 176.7 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008819/0.0008821, allocations: 94.14 kB / 261.7 MB, free: 1.684 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.2455/0.2455, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.037e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1543, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.683/1.837, allocations: 0.5983 GB / 1.064 GB, free: 18.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.837, allocations: 88.8 kB / 1.064 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.443/3.28, allocations: 345.5 MB / 1.402 GB, free: 70.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.988e-06/3.28, allocations: 0 / 1.402 GB, free: 70.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001119/3.28, allocations: 31.17 kB / 1.402 GB, free: 70.27 MB / 0.4948 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.005749/3.286, allocations: 1.56 MB / 1.403 GB, free: 68.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.147e-05/3.286, allocations: 8.031 kB / 1.403 GB, free: 68.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/3.287, allocations: 199.9 kB / 1.404 GB, free: 68.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/3.289, allocations: 0.8228 MB / 1.404 GB, free: 67.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/3.289, allocations: 24 kB / 1.404 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/3.289, allocations: 36 kB / 1.404 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/3.291, allocations: 0.9794 MB / 1.405 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/3.292, allocations: 1.041 MB / 1.406 GB, free: 65.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/3.292, allocations: 0 / 1.406 GB, free: 65.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/3.293, allocations: 0 / 1.406 GB, free: 65.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/3.293, allocations: 81.27 kB / 1.406 GB, free: 65.42 MB / 0.4948 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.006918/3.3, allocations: 4.341 MB / 1.411 GB, free: 60.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/3.301, allocations: 0.6388 MB / 1.411 GB, free: 60.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/3.301, allocations: 294.1 kB / 1.412 GB, free: 60.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/3.301, allocations: 314 kB / 1.412 GB, free: 59.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/3.302, allocations: 48.2 kB / 1.412 GB, free: 59.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007691/3.302, allocations: 95.45 kB / 1.412 GB, free: 59.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.797e-06/3.302, allocations: 1.125 kB / 1.412 GB, free: 59.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.002308/3.305, allocations: 0.9391 MB / 1.413 GB, free: 58.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/3.305, allocations: 218.1 kB / 1.413 GB, free: 58.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007521/3.305, allocations: 0.6524 MB / 1.414 GB, free: 57.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/3.306, allocations: 25.7 kB / 1.414 GB, free: 57.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/3.306, allocations: 489.2 kB / 1.414 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/3.306, allocations: 169.5 kB / 1.414 GB, free: 56.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/3.306, allocations: 0 / 1.414 GB, free: 56.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000134/3.306, allocations: 390.8 kB / 1.415 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/3.307, allocations: 357.4 kB / 1.415 GB, free: 56.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/3.307, allocations: 0.5461 MB / 1.416 GB, free: 55.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008118/3.315, allocations: 1.856 MB / 1.418 GB, free: 53.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/3.315, allocations: 3.953 kB / 1.418 GB, free: 53.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01014/3.325, allocations: 2.598 MB / 1.42 GB, free: 51.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004588/3.326, allocations: 1.74 MB / 1.422 GB, free: 49.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/3.326, allocations: 11.98 kB / 1.422 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003196/3.329, allocations: 0.6134 MB / 1.422 GB, free: 48.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/3.33, allocations: 167.7 kB / 1.423 GB, free: 48.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/3.332, allocations: 1.335 MB / 1.424 GB, free: 47.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/3.333, allocations: 45.27 kB / 1.424 GB, free: 47.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/3.333, allocations: 65.98 kB / 1.424 GB, free: 47.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/3.333, allocations: 4 kB / 1.424 GB, free: 47.11 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009422/3.343, allocations: 2.338 MB / 1.426 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/3.343, allocations: 7.938 kB / 1.426 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006795/3.343, allocations: 157 kB / 1.426 GB, free: 44.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007798/3.344, allocations: 187.8 kB / 1.427 GB, free: 44.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/3.347, allocations: 2.083 MB / 1.429 GB, free: 42.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/3.348, allocations: 51.61 kB / 1.429 GB, free: 42.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/3.348, allocations: 63.98 kB / 1.429 GB, free: 42.17 MB / 0.4948 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.0003044/3.348, allocations: 124.8 kB / 1.429 GB, free: 42.04 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002138/3.35, allocations: 0.9073 MB / 1.43 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/3.35, allocations: 90.92 kB / 1.43 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/3.352, allocations: 1.06 MB / 1.431 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/3.352, allocations: 8 kB / 1.431 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/3.352, allocations: 2.188 kB / 1.431 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/3.352, allocations: 3.984 kB / 1.431 GB, free: 39.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/3.355, allocations: 1.717 MB / 1.433 GB, free: 38.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/3.355, allocations: 0 / 1.433 GB, free: 38.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/3.356, allocations: 57.56 kB / 1.433 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/3.357, allocations: 476 kB / 1.433 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/3.357, allocations: 10.27 kB / 1.433 GB, free: 37.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/3.359, allocations: 1.272 MB / 1.434 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/3.359, allocations: 3.953 kB / 1.434 GB, free: 36.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/3.361, allocations: 1.028 MB / 1.435 GB, free: 35.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/3.361, allocations: 180 kB / 1.435 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/3.361, allocations: 0 / 1.435 GB, free: 35.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006301/3.362, allocations: 41.98 kB / 1.436 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/3.362, allocations: 44.09 kB / 1.436 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/3.362, allocations: 31.98 kB / 1.436 GB, free: 35.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000615/3.363, allocations: 0.4913 MB / 1.436 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/3.363, allocations: 0 / 1.436 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003946/3.367, allocations: 1.201 MB / 1.437 GB, free: 33.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006721/3.374, allocations: 3.598 MB / 1.441 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003182/3.377, allocations: 1.411 MB / 1.442 GB, free: 28.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/3.377, allocations: 0 / 1.442 GB, free: 28.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005404/3.377, allocations: 337.9 kB / 1.442 GB, free: 28.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/3.38, allocations: 441.6 kB / 1.443 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/3.387, allocations: 1.647 MB / 1.444 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/3.388, allocations: 1.063 MB / 1.446 GB, free: 24.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002556/3.39, allocations: 437.2 kB / 1.446 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/3.391, allocations: 327.3 kB / 1.446 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of SimCode: time 2.074e-06/3.391, allocations: 0 / 1.446 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4547/3.845, allocations: 43.54 MB / 1.489 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/3.846, allocations: 190 kB / 1.489 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.544/7.39, allocations: 0.6562 kB / 1.489 GB, free: 93.18 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