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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4423/0.4423, allocations: 43.54 MB / 314.5 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005202, allocations: 15.98 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1621, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.5231/0.6852, allocations: 156.3 MB / 0.5851 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02237/0.7076, allocations: 14.22 MB / 0.599 GB, free: 1.289 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.7092, allocations: 43.56 kB / 0.5991 GB, free: 1.246 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.7106, allocations: 370.1 kB / 0.5994 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008596/0.7192, allocations: 2.131 MB / 0.6015 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01165/0.7309, allocations: 2.502 MB / 0.6039 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005512/0.7364, allocations: 1.553 MB / 0.6054 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.7389, allocations: 0.6056 MB / 0.606 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.7425, allocations: 0.9699 MB / 0.607 GB, free: 9.121 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.7449, allocations: 0.853 MB / 0.6078 GB, free: 8.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005613/0.7455, allocations: 52 kB / 0.6079 GB, free: 8.215 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008306/0.7539, allocations: 2.617 MB / 0.6104 GB, free: 5.594 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.7551, allocations: 319.1 kB / 0.6107 GB, free: 5.281 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.7563, allocations: 233.1 kB / 0.611 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008542/0.7649, allocations: 2.355 MB / 0.6133 GB, free: 2.691 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.765, allocations: 0 / 0.6133 GB, free: 2.691 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.765, allocations: 0 / 0.6133 GB, free: 2.691 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.861e-05/0.7651, allocations: 0 / 0.6133 GB, free: 2.691 MB / 478.1 MB 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.006041/0.7711, allocations: 1.624 MB / 0.6148 GB, free: 1.016 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.7712, allocations: 12.03 kB / 0.6148 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000506/0.7717, allocations: 118.5 kB / 0.615 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.7733, allocations: 202.5 kB / 0.6152 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.7752, allocations: 0.7148 MB / 0.6159 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/0.7754, allocations: 54.3 kB / 0.6159 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.7756, allocations: 63.97 kB / 0.616 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.778, allocations: 1.141 MB / 0.6171 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.7781, allocations: 4 kB / 0.6171 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.7782, allocations: 35.91 kB / 0.6171 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/0.7784, allocations: 77.27 kB / 0.6172 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.7811, allocations: 1.168 MB / 0.6183 GB, free: 13.34 MB / 494.1 MB 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.0104/0.7915, allocations: 4.391 MB / 0.6226 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.7932, allocations: 0.791 MB / 0.6234 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/0.7937, allocations: 330.7 kB / 0.6237 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.7937, allocations: 47.12 kB / 0.6238 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008372/0.7946, allocations: 123 kB / 0.6239 GB, free: 7.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 5.972e-06/0.7946, allocations: 0 / 0.6239 GB, free: 7.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.006737/0.8013, allocations: 2.01 MB / 0.6258 GB, free: 5.332 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002526/0.8017, allocations: 218.2 kB / 0.626 GB, free: 5.066 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.8036, allocations: 0.869 MB / 0.6269 GB, free: 4.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.8038, allocations: 37.7 kB / 0.6269 GB, free: 4.129 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/0.8044, allocations: 447.8 kB / 0.6274 GB, free: 3.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.8047, allocations: 216.9 kB / 0.6276 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.8048, allocations: 20 kB / 0.6276 GB, free: 3.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.805, allocations: 337.9 kB / 0.6279 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/0.8059, allocations: 393.7 kB / 0.6283 GB, free: 2.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009903/0.8069, allocations: 0.6008 MB / 0.6289 GB, free: 2.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.8079, allocations: 483 kB / 0.6293 GB, free: 1.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.8079, allocations: 7.953 kB / 0.6293 GB, free: 1.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002651/0.8106, allocations: 1.301 MB / 0.6306 GB, free: 256 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.3532/1.164, allocations: 2.003 MB / 0.6326 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-05/1.164, allocations: 6.5 kB / 0.6326 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005387/1.169, allocations: 0.8379 MB / 0.6334 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/1.17, allocations: 161.2 kB / 0.6335 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/1.172, allocations: 1.191 MB / 0.6347 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.173, allocations: 60.31 kB / 0.6348 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.173, allocations: 69.89 kB / 0.6348 GB, free: 149.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.173, allocations: 5.156 kB / 0.6348 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002547/1.176, allocations: 1.107 MB / 0.6359 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.176, allocations: 6.469 kB / 0.6359 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000649/1.177, allocations: 174.1 kB / 0.6361 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/1.177, allocations: 195.9 kB / 0.6363 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/1.181, allocations: 2.221 MB / 0.6384 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/1.182, allocations: 57.36 kB / 0.6385 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.182, allocations: 68.8 kB / 0.6386 GB, free: 148.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (80): * Single equations (assignments): 79 * 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.0008484/1.183, allocations: 355.5 kB / 0.6389 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/1.183, allocations: 97.34 kB / 0.639 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/1.186, allocations: 1.38 MB / 0.6403 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.186, allocations: 5.719 kB / 0.6403 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.186, allocations: 8.969 kB / 0.6404 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.186, allocations: 5.016 kB / 0.6404 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/1.19, allocations: 1.993 MB / 0.6423 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.19, allocations: 2.062 kB / 0.6423 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/1.19, allocations: 83.95 kB / 0.6424 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003244/1.193, allocations: 0.6898 MB / 0.6431 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/1.194, allocations: 28.91 kB / 0.6431 GB, free: 147.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/1.195, allocations: 1.178 MB / 0.6442 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.195, allocations: 2.938 kB / 0.6442 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/1.197, allocations: 1.212 MB / 0.6454 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/1.197, allocations: 183.5 kB / 0.6456 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.198, allocations: 22.7 kB / 0.6456 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/1.198, allocations: 44.02 kB / 0.6457 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.198, allocations: 49.59 kB / 0.6457 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/1.198, allocations: 49.97 kB / 0.6458 GB, free: 146.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008559/1.199, allocations: 0.6164 MB / 0.6464 GB, free: 146.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.199, allocations: 0 / 0.6464 GB, free: 146.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00328/1.203, allocations: 1.046 MB / 0.6474 GB, free: 146 MB / 494.1 MB 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 (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.00448/1.207, allocations: 2.986 MB / 0.6503 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003195/1.21, allocations: 1.577 MB / 0.6518 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.21, allocations: 3.219 kB / 0.6518 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007908/1.211, allocations: 427.1 kB / 0.6522 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/1.214, allocations: 0.5362 MB / 0.6528 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/1.22, allocations: 6.182 MB / 0.6588 GB, free: 138.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/1.22, allocations: 1.069 MB / 0.6599 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001961/1.222, allocations: 466.7 kB / 0.6603 GB, free: 137.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/1.223, allocations: 365.4 kB / 0.6606 GB, free: 137.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.625e-06/1.223, allocations: 0 / 0.6606 GB, free: 137.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09672/1.319, allocations: 41.18 MB / 0.7009 GB, free: 116.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/1.32, allocations: 277.6 kB / 0.7011 GB, free: 116.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/4.412, allocations: 0 / 0.7011 GB, free: 116.5 MB / 494.1 MB (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) Environment - environmentSimulation: 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