Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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(TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_BaseClasses_test_GasNode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_BaseClasses_test_GasNode",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.006609/0.006609, allocations: 97.98 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 195.1 kB / 16.68 MB, free: 5.523 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.529/1.529, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07211/0.07211, allocations: 10.97 MB / 280.9 MB, free: 1.004 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01999/0.01999, allocations: 4.24 MB / 334.6 MB, free: 11.14 MB / 286.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.001386/0.001386, allocations: 66.81 kB / 447.1 MB, free: 33.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09764, allocations: 49.75 MB / 496.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode): time 0.4617/0.5594, allocations: 173.2 MB / 0.6543 GB, free: 5.664 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.5619, allocations: 1.368 MB / 0.6556 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.5622, allocations: 7.938 kB / 0.6556 GB, free: 4.289 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.5629, allocations: 167 kB / 0.6558 GB, free: 4.125 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.5645, allocations: 0.56 MB / 0.6563 GB, free: 3.562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.5681, allocations: 1.279 MB / 0.6576 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.5691, allocations: 0.8236 MB / 0.6584 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.5695, allocations: 240.3 kB / 0.6586 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007332/0.5703, allocations: 382.2 kB / 0.659 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.5707, allocations: 283.1 kB / 0.6593 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.5707, allocations: 39.94 kB / 0.6593 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/0.5752, allocations: 2.605 MB / 0.6618 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.5755, allocations: 167.7 kB / 0.662 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.5758, allocations: 199.2 kB / 0.6622 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002965/0.5788, allocations: 1.628 MB / 0.6638 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5788, allocations: 4 kB / 0.6638 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5788, allocations: 0 / 0.6638 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.5788, allocations: 0 / 0.6638 GB, free: 11.93 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001625/0.5804, allocations: 0.8709 MB / 0.6646 GB, free: 11.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5805, allocations: 12.03 kB / 0.6646 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.366e-05/0.5806, allocations: 62.72 kB / 0.6647 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.5809, allocations: 52.73 kB / 0.6647 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.5814, allocations: 305 kB / 0.665 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.5814, allocations: 24.94 kB / 0.6651 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.5815, allocations: 32.38 kB / 0.6651 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.5821, allocations: 356.7 kB / 0.6654 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5822, allocations: 3.984 kB / 0.6654 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.5822, allocations: 12 kB / 0.6654 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.5822, allocations: 8 kB / 0.6655 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.5828, allocations: 381.9 kB / 0.6658 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.5851, allocations: 1.503 MB / 0.6673 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.5858, allocations: 359.8 kB / 0.6676 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.5861, allocations: 148.8 kB / 0.6678 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/0.5867, allocations: 352.4 kB / 0.6681 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.383e-05/0.5867, allocations: 38.56 kB / 0.6681 GB, free: 7.078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 3.136e-06/0.5868, allocations: 3.938 kB / 0.6682 GB, free: 7.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.02979/0.6166, allocations: 4.502 MB / 0.6725 GB, free: 2.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.6166, allocations: 55.41 kB / 0.6726 GB, free: 2.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.6169, allocations: 257 kB / 0.6728 GB, free: 2.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.617, allocations: 33.7 kB / 0.6729 GB, free: 2.133 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.6171, allocations: 160.7 kB / 0.673 GB, free: 1.969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.6173, allocations: 142.8 kB / 0.6732 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.6174, allocations: 70.12 kB / 0.6732 GB, free: 1.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6175, allocations: 338.8 kB / 0.6736 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.6178, allocations: 156.8 kB / 0.6737 GB, free: 1.262 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.6181, allocations: 224.3 kB / 0.6739 GB, free: 1.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.6187, allocations: 405.4 kB / 0.6743 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6187, allocations: 0 / 0.6743 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0206/0.6393, allocations: 2.642 MB / 0.6769 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.6394, allocations: 4 kB / 0.6769 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.6394, allocations: 4 kB / 0.6769 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/0.653, allocations: 1.587 MB / 0.6784 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.6534, allocations: 75.84 kB / 0.6785 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.6547, allocations: 1.727 MB / 0.6802 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.655, allocations: 8.031 kB / 0.6802 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.6551, allocations: 20.8 kB / 0.6802 GB, free: 10.42 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.6553, allocations: 173.8 kB / 0.6804 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/0.6554, allocations: 27.86 kB / 0.6804 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/0.6661, allocations: 1.563 MB / 0.6819 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.6662, allocations: 4 kB / 0.682 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6662, allocations: 0 / 0.682 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.6662, allocations: 3.938 kB / 0.682 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.6778, allocations: 2.124 MB / 0.684 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.6778, allocations: 1.312 kB / 0.684 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.6782, allocations: 67.91 kB / 0.6841 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02648/0.7046, allocations: 2.892 MB / 0.6869 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/0.7047, allocations: 11.98 kB / 0.6869 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008794/0.7056, allocations: 1.175 MB / 0.6881 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7056, allocations: 0 / 0.6881 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.7168, allocations: 1.802 MB / 0.6898 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.717, allocations: 108.9 kB / 0.6899 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.7171, allocations: 17.09 kB / 0.69 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.7174, allocations: 12 kB / 0.69 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.7175, allocations: 27.95 kB / 0.69 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.7176, allocations: 19.98 kB / 0.69 GB, free: 204 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001902/0.7178, allocations: 188.5 kB / 0.6902 GB, free: 16 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7178, allocations: 0 / 0.6902 GB, free: 16 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.1965/0.9143, allocations: 339.2 kB / 0.6905 GB, free: 177.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gasNode.medium.Xi[1],gasNode.medium.d,gasNode.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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002346/0.9167, allocations: 1.628 MB / 0.6921 GB, free: 176.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009386/0.9177, allocations: 437 kB / 0.6925 GB, free: 176.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9177, allocations: 0.9062 kB / 0.6925 GB, free: 176.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.9181, allocations: 238.1 kB / 0.6928 GB, free: 176.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.9192, allocations: 202.7 kB / 0.6929 GB, free: 176.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04533/0.9645, allocations: 8.087 MB / 0.7008 GB, free: 174.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.9649, allocations: 0.7976 MB / 0.7016 GB, free: 173.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004827/0.9654, allocations: 92.67 kB / 0.7017 GB, free: 173.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.9656, allocations: 104.4 kB / 0.7018 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.9656, allocations: 0 / 0.7018 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04312/1.009, allocations: 16.57 MB / 0.718 GB, free: 167 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.45, allocations: 5.406 kB / 0.718 GB, free: 167 MB / 0.4981 GB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_BaseClasses_test_GasNode.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.pipe 2>&1)