Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002389/0.002395, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.315/2.315, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001197/0.001197, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3092/0.3092, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.000482, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 58.85 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.604/0.7351, allocations: 156.3 MB / 0.6315 GB, free: 14.38 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03177/0.767, allocations: 14.22 MB / 0.6454 GB, free: 140 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.7685, allocations: 43.62 kB / 0.6454 GB, free: 96 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.7706, allocations: 362.1 kB / 0.6458 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.7807, allocations: 2.142 MB / 0.6479 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.7913, allocations: 2.507 MB / 0.6503 GB, free: 11.08 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.7953, allocations: 1.549 MB / 0.6518 GB, free: 9.531 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.7971, allocations: 0.6085 MB / 0.6524 GB, free: 8.902 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.8007, allocations: 0.9582 MB / 0.6533 GB, free: 7.941 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/0.8034, allocations: 0.8569 MB / 0.6542 GB, free: 7.082 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004487/0.8039, allocations: 52 kB / 0.6542 GB, free: 7.031 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008425/0.8123, allocations: 2.625 MB / 0.6568 GB, free: 4.402 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009176/0.8133, allocations: 319.1 kB / 0.6571 GB, free: 4.09 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.8139, allocations: 233.1 kB / 0.6573 GB, free: 3.855 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006836/0.8207, allocations: 2.347 MB / 0.6596 GB, free: 1.504 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8208, allocations: 0 / 0.6596 GB, free: 1.504 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.8208, allocations: 4 kB / 0.6596 GB, free: 1.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.876e-05/0.8209, allocations: 0 / 0.6596 GB, free: 1.5 MB / 458.7 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.006274/0.8271, allocations: 1.632 MB / 0.6612 GB, free: 15.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.8272, allocations: 8.031 kB / 0.6612 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004919/0.8277, allocations: 114.5 kB / 0.6613 GB, free: 15.69 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.8296, allocations: 202.6 kB / 0.6615 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.8319, allocations: 0.7032 MB / 0.6622 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.832, allocations: 57.28 kB / 0.6623 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/0.8323, allocations: 63.92 kB / 0.6623 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003639/0.836, allocations: 1.141 MB / 0.6634 GB, free: 13.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.8361, allocations: 3.938 kB / 0.6634 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001954/0.8363, allocations: 35.97 kB / 0.6635 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/0.8365, allocations: 77.27 kB / 0.6635 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/0.8407, allocations: 1.168 MB / 0.6647 GB, free: 12.15 MB / 474.7 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.01378/0.8545, allocations: 4.385 MB / 0.669 GB, free: 7.539 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.8574, allocations: 0.7915 MB / 0.6697 GB, free: 6.742 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005674/0.858, allocations: 325.7 kB / 0.6701 GB, free: 6.367 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.8581, allocations: 43.12 kB / 0.6701 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001192/0.8593, allocations: 123.1 kB / 0.6702 GB, free: 6.195 MB / 474.7 MB Notification: Performance of pre-optimization done (n=61): time 5.17e-06/0.8594, allocations: 3.938 kB / 0.6702 GB, free: 6.191 MB / 474.7 MB Notification: Performance of matching and sorting (n=61): time 0.01205/0.8714, allocations: 2.01 MB / 0.6722 GB, free: 4.152 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.8716, allocations: 218.2 kB / 0.6724 GB, free: 3.887 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.8736, allocations: 0.8806 MB / 0.6732 GB, free: 2.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002577/0.8739, allocations: 37.7 kB / 0.6733 GB, free: 2.938 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.8744, allocations: 450.3 kB / 0.6737 GB, free: 2.496 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/0.8748, allocations: 212.9 kB / 0.6739 GB, free: 2.285 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.8749, allocations: 16 kB / 0.6739 GB, free: 2.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.8751, allocations: 342.8 kB / 0.6743 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.8765, allocations: 389.8 kB / 0.6746 GB, free: 1.547 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.8782, allocations: 0.6052 MB / 0.6752 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.8799, allocations: 479 kB / 0.6757 GB, free: 392 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.88, allocations: 7.953 kB / 0.6757 GB, free: 384 kB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004352/0.8843, allocations: 1.24 MB / 0.6769 GB, free: 15.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001117/0.8855, allocations: 2.016 MB / 0.6789 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.8856, allocations: 4 kB / 0.6789 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009007/0.8946, allocations: 0.8443 MB / 0.6797 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.896, allocations: 165.3 kB / 0.6799 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.8987, allocations: 1.184 MB / 0.681 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.9003, allocations: 63.91 kB / 0.6811 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.9006, allocations: 67.97 kB / 0.6811 GB, free: 10.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9006, allocations: 7.938 kB / 0.6811 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004206/0.9048, allocations: 1.105 MB / 0.6822 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.9049, allocations: 4 kB / 0.6822 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009947/0.9059, allocations: 152.9 kB / 0.6824 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.9075, allocations: 199.7 kB / 0.6826 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.912, allocations: 2.179 MB / 0.6847 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.9133, allocations: 59.89 kB / 0.6847 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.9135, allocations: 72.8 kB / 0.6848 GB, free: 6.695 MB / 490.7 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.0008537/0.9144, allocations: 352.9 kB / 0.6852 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/0.9147, allocations: 102.8 kB / 0.6852 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005266/0.92, allocations: 1.385 MB / 0.6866 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.9201, allocations: 4 kB / 0.6866 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9201, allocations: 0 / 0.6866 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-05/0.9201, allocations: 7.938 kB / 0.6866 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005719/0.9259, allocations: 1.991 MB / 0.6886 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.9259, allocations: 0 / 0.6886 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/0.9266, allocations: 88.03 kB / 0.6886 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005777/0.9324, allocations: 0.6993 MB / 0.6893 GB, free: 1.969 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.9327, allocations: 27.98 kB / 0.6894 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.935, allocations: 1.165 MB / 0.6905 GB, free: 0.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/0.935, allocations: 4 kB / 0.6905 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.9385, allocations: 1.213 MB / 0.6917 GB, free: 15.46 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.9391, allocations: 183.8 kB / 0.6919 GB, free: 15.26 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.9393, allocations: 12 kB / 0.6919 GB, free: 15.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/0.9412, allocations: 51.89 kB / 0.6919 GB, free: 15.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/0.9416, allocations: 52.5 kB / 0.692 GB, free: 15.14 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/0.9418, allocations: 47.94 kB / 0.692 GB, free: 15.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002141/0.944, allocations: 0.6128 MB / 0.6926 GB, free: 14.47 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.729e-06/0.9441, allocations: 0 / 0.6926 GB, free: 14.47 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006369/0.9505, allocations: 1.042 MB / 0.6936 GB, free: 13.43 MB / 0.4949 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 (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.01102/0.9616, allocations: 2.981 MB / 0.6965 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007514/0.9692, allocations: 1.581 MB / 0.6981 GB, free: 8.785 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.9692, allocations: 0 / 0.6981 GB, free: 8.785 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.9713, allocations: 426.8 kB / 0.6985 GB, free: 8.363 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005919/0.9773, allocations: 0.5324 MB / 0.699 GB, free: 7.832 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.9898, allocations: 6.229 MB / 0.7051 GB, free: 1.438 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.9912, allocations: 1.071 MB / 0.7061 GB, free: 348 kB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3649/1.356, allocations: 373.4 kB / 0.7065 GB, free: 181.7 MB / 0.4949 GB Notification: Performance of SimCode: time 1.502e-06/1.356, allocations: 3.375 kB / 0.7065 GB, free: 181.7 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.955/5.311, allocations: 30.75 MB / 0.7365 GB, free: 168 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat