Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",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.001584/0.001588, allocations: 182.5 kB / 16.4 MB, free: 5.75 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.067/2.067, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001164/0.001164, allocations: 104.4 kB / 270.9 MB, free: 8.355 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.5289/0.5289, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004809, allocations: 12 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1391, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.6078/0.747, allocations: 158.2 MB / 0.6333 GB, free: 8.852 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.03504/0.7821, allocations: 15.3 MB / 0.6483 GB, free: 9.539 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.784, allocations: 43.62 kB / 0.6483 GB, free: 9.496 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.7865, allocations: 401.9 kB / 0.6487 GB, free: 9.102 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.799, allocations: 2.49 MB / 0.6511 GB, free: 6.617 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0116/0.8106, allocations: 2.624 MB / 0.6537 GB, free: 4.004 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.004602/0.8152, allocations: 1.749 MB / 0.6554 GB, free: 2.254 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.8172, allocations: 0.6373 MB / 0.656 GB, free: 1.598 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.8213, allocations: 1.079 MB / 0.6571 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.8242, allocations: 0.9036 MB / 0.6579 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005564/0.8249, allocations: 56 kB / 0.658 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00909/0.834, allocations: 2.692 MB / 0.6606 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.8351, allocations: 339 kB / 0.6609 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.8359, allocations: 245.1 kB / 0.6612 GB, free: 12.28 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007341/0.8433, allocations: 2.487 MB / 0.6636 GB, free: 9.785 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8434, allocations: 0 / 0.6636 GB, free: 9.785 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.8434, allocations: 3.938 kB / 0.6636 GB, free: 9.781 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.398e-05/0.8435, allocations: 0 / 0.6636 GB, free: 9.781 MB / 490.7 MB 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.007112/0.8506, allocations: 1.691 MB / 0.6653 GB, free: 8.039 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.8507, allocations: 8.031 kB / 0.6653 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005961/0.8513, allocations: 130.7 kB / 0.6654 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.8534, allocations: 214.4 kB / 0.6656 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/0.856, allocations: 0.7607 MB / 0.6663 GB, free: 6.883 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.8562, allocations: 57.98 kB / 0.6664 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/0.8566, allocations: 67.98 kB / 0.6665 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/0.8607, allocations: 1.229 MB / 0.6677 GB, free: 5.477 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.8608, allocations: 3.906 kB / 0.6677 GB, free: 5.473 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.8611, allocations: 35.97 kB / 0.6677 GB, free: 5.438 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/0.8613, allocations: 85.89 kB / 0.6678 GB, free: 5.352 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004634/0.8659, allocations: 1.237 MB / 0.669 GB, free: 4.117 MB / 490.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.3502/1.216, allocations: 4.842 MB / 0.6737 GB, free: 147.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/1.219, allocations: 0.7662 MB / 0.6745 GB, free: 147.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/1.22, allocations: 321.2 kB / 0.6748 GB, free: 147.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/1.22, allocations: 45.34 kB / 0.6748 GB, free: 147.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 3.917e-06/1.22, allocations: 0.625 kB / 0.6748 GB, free: 147.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=73): time 0.01591/1.236, allocations: 2.812 MB / 0.6776 GB, free: 147 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.715e-05/1.236, allocations: 217.1 kB / 0.6778 GB, free: 146.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/1.238, allocations: 0.9305 MB / 0.6787 GB, free: 146.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003043/1.239, allocations: 41.23 kB / 0.6787 GB, free: 146.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005631/1.239, allocations: 482.8 kB / 0.6792 GB, free: 146.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005589/1.24, allocations: 257.6 kB / 0.6794 GB, free: 146.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/1.24, allocations: 19.53 kB / 0.6794 GB, free: 146.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/1.24, allocations: 348.5 kB / 0.6798 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/1.242, allocations: 422.1 kB / 0.6802 GB, free: 145.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/1.244, allocations: 0.6653 MB / 0.6808 GB, free: 145.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/1.246, allocations: 0.5103 MB / 0.6813 GB, free: 145.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/1.246, allocations: 1.375 kB / 0.6813 GB, free: 145.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005022/1.251, allocations: 1.386 MB / 0.6827 GB, free: 144.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005931/1.251, allocations: 2.443 MB / 0.6851 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.042e-05/1.251, allocations: 6 kB / 0.6851 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006111/1.258, allocations: 0.7344 MB / 0.6858 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.259, allocations: 176.6 kB / 0.686 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/1.262, allocations: 1.284 MB / 0.6872 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/1.264, allocations: 65.34 kB / 0.6873 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/1.265, allocations: 92.62 kB / 0.6874 GB, free: 141.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.265, allocations: 5.531 kB / 0.6874 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004975/1.27, allocations: 1.21 MB / 0.6885 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-05/1.27, allocations: 6.438 kB / 0.6886 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/1.274, allocations: 364 kB / 0.6889 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/1.276, allocations: 202.9 kB / 0.6891 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/1.279, allocations: 0.9546 MB / 0.69 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/1.281, allocations: 75.91 kB / 0.6901 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005089/1.281, allocations: 88.14 kB / 0.6902 GB, free: 140.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (91): * Single equations (assignments): 90 * 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.001574/1.283, allocations: 372 kB / 0.6905 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006673/1.284, allocations: 111.9 kB / 0.6906 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00832/1.292, allocations: 1.38 MB / 0.692 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/1.292, allocations: 6.406 kB / 0.692 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.292, allocations: 0 / 0.692 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/1.292, allocations: 9.016 kB / 0.692 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009334/1.302, allocations: 2.141 MB / 0.6941 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.302, allocations: 3.406 kB / 0.6941 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/1.304, allocations: 174.7 kB / 0.6943 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/1.304, allocations: 23.81 kB / 0.6943 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/1.304, allocations: 42.02 kB / 0.6943 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/1.306, allocations: 1.298 MB / 0.6956 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.306, allocations: 5.094 kB / 0.6956 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006793/1.313, allocations: 1.691 MB / 0.6973 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007354/1.314, allocations: 188.7 kB / 0.6974 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007662/1.315, allocations: 18.66 kB / 0.6975 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/1.317, allocations: 54.17 kB / 0.6975 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/1.317, allocations: 67.72 kB / 0.6976 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/1.318, allocations: 69.38 kB / 0.6976 GB, free: 135.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002199/1.32, allocations: 0.6492 MB / 0.6983 GB, free: 135.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.998e-06/1.32, allocations: 0 / 0.6983 GB, free: 135.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00658/1.327, allocations: 1.084 MB / 0.6993 GB, free: 135.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (junction.medium.p,junction.medium.T) * 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 (74): * Single equations (assignments): 73 * 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.01257/1.339, allocations: 3.51 MB / 0.7028 GB, free: 133.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007684/1.347, allocations: 1.619 MB / 0.7043 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/1.347, allocations: 0 / 0.7043 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.349, allocations: 0.5783 MB / 0.7049 GB, free: 132.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006458/1.356, allocations: 0.5728 MB / 0.7055 GB, free: 132.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/1.37, allocations: 7.463 MB / 0.7127 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.371, allocations: 1.102 MB / 0.7138 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002504/1.373, allocations: 471.6 kB / 0.7143 GB, free: 125.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.585e-06/1.373, allocations: 0 / 0.7143 GB, free: 125.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.03/5.403, allocations: 34.56 MB / 0.748 GB, free: 107.8 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat does not exist to compare? outputFormat=mat