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.00141/0.001409, allocations: 108 kB / 15.61 MB, free: 152 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.00187/0.00187, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.597/1.597, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07104/0.07104, allocations: 10.97 MB / 280.7 MB, free: 10.21 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01798/0.01798, allocations: 4.245 MB / 334.4 MB, free: 29.11 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.001482/0.001482, allocations: 67.89 kB / 396.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2725, allocations: 49.73 MB / 446.4 MB, free: 47.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode): time 0.3663/0.6389, allocations: 173.2 MB / 0.6051 GB, free: 0 / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.6407, allocations: 1.362 MB / 0.6064 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.6409, allocations: 8.344 kB / 0.6064 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.6414, allocations: 164 kB / 0.6066 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.6428, allocations: 0.5554 MB / 0.6071 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.6458, allocations: 1.267 MB / 0.6083 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008289/0.6466, allocations: 0.8262 MB / 0.6091 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.647, allocations: 230.8 kB / 0.6094 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.6475, allocations: 381.6 kB / 0.6097 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.6478, allocations: 279.6 kB / 0.61 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.6479, allocations: 37.34 kB / 0.61 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.6519, allocations: 2.6 MB / 0.6126 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.6521, allocations: 162 kB / 0.6127 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.6524, allocations: 201.2 kB / 0.6129 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.6548, allocations: 1.63 MB / 0.6145 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6549, allocations: 3.984 kB / 0.6145 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.6549, allocations: 4 kB / 0.6145 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.6549, allocations: 0 / 0.6145 GB, free: 15.49 MB / 414.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.001495/0.6564, allocations: 0.8447 MB / 0.6153 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.6564, allocations: 9.844 kB / 0.6153 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.188e-05/0.6565, allocations: 65.5 kB / 0.6154 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.6569, allocations: 49.05 kB / 0.6155 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.6573, allocations: 305.7 kB / 0.6157 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.6573, allocations: 24.22 kB / 0.6158 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.6574, allocations: 28.36 kB / 0.6158 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.6579, allocations: 363.2 kB / 0.6161 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6579, allocations: 0 / 0.6161 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.658, allocations: 15.69 kB / 0.6162 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.658, allocations: 7.781 kB / 0.6162 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.6585, allocations: 378.1 kB / 0.6165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.6604, allocations: 1.513 MB / 0.618 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.661, allocations: 363.4 kB / 0.6183 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.6612, allocations: 142.4 kB / 0.6185 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.6617, allocations: 364.5 kB / 0.6188 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.6617, allocations: 39.59 kB / 0.6189 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.6617, allocations: 0 / 0.6189 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.02955/0.6913, allocations: 4.494 MB / 0.6233 GB, free: 10.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.6913, allocations: 61.38 kB / 0.6233 GB, free: 10.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.6916, allocations: 254 kB / 0.6236 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.128e-05/0.6917, allocations: 34.92 kB / 0.6236 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.6918, allocations: 160.8 kB / 0.6237 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.6919, allocations: 129.3 kB / 0.6239 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.692, allocations: 76.25 kB / 0.6239 GB, free: 10.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6922, allocations: 338 kB / 0.6243 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.6924, allocations: 150.4 kB / 0.6244 GB, free: 10.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.6927, allocations: 224.7 kB / 0.6246 GB, free: 9.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.6932, allocations: 410.2 kB / 0.625 GB, free: 9.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6932, allocations: 1.969 kB / 0.625 GB, free: 9.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0203/0.7135, allocations: 2.639 MB / 0.6276 GB, free: 8.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.7136, allocations: 4 kB / 0.6276 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7136, allocations: 7.938 kB / 0.6276 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/0.727, allocations: 1.592 MB / 0.6292 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.7274, allocations: 73.06 kB / 0.6292 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.7289, allocations: 1.724 MB / 0.6309 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.7291, allocations: 11.34 kB / 0.6309 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.7292, allocations: 19.42 kB / 0.6309 GB, free: 5.148 MB / 414.1 MB 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.0002781/0.7295, allocations: 170.2 kB / 0.6311 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.234e-05/0.7296, allocations: 32.27 kB / 0.6311 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.7404, allocations: 1.554 MB / 0.6327 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.7404, allocations: 4.141 kB / 0.6327 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.7404, allocations: 12 kB / 0.6327 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.7405, allocations: 11.91 kB / 0.6327 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.752, allocations: 2.115 MB / 0.6347 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.752, allocations: 6.422 kB / 0.6347 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.7524, allocations: 70.09 kB / 0.6348 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0264/0.7788, allocations: 2.881 MB / 0.6376 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.779, allocations: 14.8 kB / 0.6376 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009571/0.7799, allocations: 1.176 MB / 0.6388 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7799, allocations: 0 / 0.6388 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.7911, allocations: 1.796 MB / 0.6405 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.7913, allocations: 112.6 kB / 0.6407 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.7914, allocations: 12.03 kB / 0.6407 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.7917, allocations: 24.17 kB / 0.6407 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.7918, allocations: 27.95 kB / 0.6407 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/0.7918, allocations: 17.08 kB / 0.6407 GB, free: 11.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.7921, allocations: 184.5 kB / 0.6409 GB, free: 11.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7921, allocations: 4 kB / 0.6409 GB, free: 11.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001058/0.7931, allocations: 335.7 kB / 0.6412 GB, free: 11.02 MB / 430.1 MB 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.002433/0.7956, allocations: 1.636 MB / 0.6428 GB, free: 9.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.7967, allocations: 472.2 kB / 0.6433 GB, free: 8.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7967, allocations: 3.938 kB / 0.6433 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.7971, allocations: 229.3 kB / 0.6435 GB, free: 8.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.7982, allocations: 191.4 kB / 0.6437 GB, free: 8.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04629/0.8445, allocations: 8.074 MB / 0.6516 GB, free: 356 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.8449, allocations: 0.8033 MB / 0.6524 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.8453, allocations: 87.75 kB / 0.6524 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.8455, allocations: 103.4 kB / 0.6525 GB, free: 15.34 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8455, allocations: 8 kB / 0.6525 GB, free: 15.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04333/0.8889, allocations: 16.42 MB / 0.6686 GB, free: 15.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.67, allocations: 4.062 kB / 0.6686 GB, free: 15.02 MB / 462.1 MB (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)