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.008953/0.008953, allocations: 99.14 kB / 15.73 MB, free: 6.039 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.001692/0.001692, allocations: 194.7 kB / 16.67 MB, free: 5.969 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.418/1.418, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06865/0.06865, allocations: 10.97 MB / 280.9 MB, free: 10.15 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.0193/0.0193, allocations: 4.237 MB / 334.6 MB, free: 29.02 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.002137/0.002137, allocations: 66.7 kB / 447.1 MB, free: 44.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08724, allocations: 49.75 MB / 496.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode): time 0.412/0.4993, allocations: 173.2 MB / 0.6543 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.5013, allocations: 1.363 MB / 0.6556 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.5015, allocations: 6.375 kB / 0.6556 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.5021, allocations: 170 kB / 0.6558 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.5035, allocations: 0.5488 MB / 0.6563 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.5065, allocations: 1.278 MB / 0.6576 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008642/0.5074, allocations: 0.8211 MB / 0.6584 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003467/0.5078, allocations: 240.8 kB / 0.6586 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006089/0.5084, allocations: 388.3 kB / 0.659 GB, free: 316 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.5088, allocations: 277.8 kB / 0.6592 GB, free: 156 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.5088, allocations: 45.69 kB / 0.6593 GB, free: 148 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/0.5129, allocations: 2.595 MB / 0.6618 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.5131, allocations: 162.3 kB / 0.662 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.5134, allocations: 199.2 kB / 0.6622 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.5156, allocations: 1.627 MB / 0.6637 GB, free: 13.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5156, allocations: 4 kB / 0.6638 GB, free: 13.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5156, allocations: 4 kB / 0.6638 GB, free: 13.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.5156, allocations: 3.938 kB / 0.6638 GB, free: 13.14 MB / 446.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.001375/0.517, allocations: 0.8344 MB / 0.6646 GB, free: 12.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.517, allocations: 12.03 kB / 0.6646 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.91e-05/0.5171, allocations: 66.72 kB / 0.6646 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.5174, allocations: 48.55 kB / 0.6647 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.5179, allocations: 312.8 kB / 0.665 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.5179, allocations: 24.94 kB / 0.665 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.5179, allocations: 28.38 kB / 0.665 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.5186, allocations: 356.7 kB / 0.6654 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.5186, allocations: 0 / 0.6654 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.5186, allocations: 12 kB / 0.6654 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.5187, allocations: 12 kB / 0.6654 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005634/0.5192, allocations: 385.9 kB / 0.6658 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.5213, allocations: 1.491 MB / 0.6672 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.5219, allocations: 363.8 kB / 0.6676 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.5221, allocations: 144.8 kB / 0.6677 GB, free: 8.797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.5226, allocations: 356.4 kB / 0.6681 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.5227, allocations: 39.56 kB / 0.6681 GB, free: 8.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.704e-06/0.5227, allocations: 3.938 kB / 0.6681 GB, free: 8.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.03244/0.5551, allocations: 4.489 MB / 0.6725 GB, free: 3.758 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.5552, allocations: 55.41 kB / 0.6725 GB, free: 3.691 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.5555, allocations: 256.9 kB / 0.6728 GB, free: 3.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.5556, allocations: 37.7 kB / 0.6728 GB, free: 3.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.5557, allocations: 156.5 kB / 0.673 GB, free: 3.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.5559, allocations: 138 kB / 0.6731 GB, free: 3.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.556, allocations: 70.12 kB / 0.6732 GB, free: 3.016 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.5562, allocations: 338.8 kB / 0.6735 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.5565, allocations: 148.8 kB / 0.6736 GB, free: 2.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.5568, allocations: 236.3 kB / 0.6739 GB, free: 2.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.5575, allocations: 397.5 kB / 0.6742 GB, free: 1.855 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5575, allocations: 0 / 0.6742 GB, free: 1.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0222/0.5797, allocations: 2.645 MB / 0.6768 GB, free: 15.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.5798, allocations: 8.688 kB / 0.6768 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5798, allocations: 4.812 kB / 0.6768 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01453/0.5943, allocations: 1.59 MB / 0.6784 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.5947, allocations: 67.84 kB / 0.6784 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.596, allocations: 1.735 MB / 0.6801 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.5963, allocations: 12 kB / 0.6802 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.5963, allocations: 16 kB / 0.6802 GB, free: 11.67 MB / 462.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.0002147/0.5965, allocations: 169.8 kB / 0.6803 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5966, allocations: 24.59 kB / 0.6804 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.6084, allocations: 1.547 MB / 0.6819 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.6084, allocations: 4 kB / 0.6819 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.6084, allocations: 0 / 0.6819 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.6084, allocations: 11.92 kB / 0.6819 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.6207, allocations: 2.128 MB / 0.684 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.6208, allocations: 4 kB / 0.684 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.6212, allocations: 74.88 kB / 0.684 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02775/0.6489, allocations: 2.879 MB / 0.6868 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/0.6491, allocations: 15.98 kB / 0.6869 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009845/0.6501, allocations: 1.175 MB / 0.688 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6501, allocations: 4.031 kB / 0.688 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.6616, allocations: 1.79 MB / 0.6898 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.6618, allocations: 112.7 kB / 0.6899 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.6618, allocations: 12 kB / 0.6899 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.6622, allocations: 11.98 kB / 0.6899 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.6622, allocations: 23.97 kB / 0.6899 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.6623, allocations: 23.98 kB / 0.6899 GB, free: 1.477 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.6625, allocations: 184.5 kB / 0.6901 GB, free: 1.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6625, allocations: 0 / 0.6901 GB, free: 1.297 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000933/0.6635, allocations: 343.7 kB / 0.6904 GB, free: 0.9609 MB / 462.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.002506/0.666, allocations: 1.636 MB / 0.692 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008986/0.6669, allocations: 435.5 kB / 0.6925 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6669, allocations: 0 / 0.6925 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.6673, allocations: 223.8 kB / 0.6927 GB, free: 14.65 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/0.6683, allocations: 203.2 kB / 0.6929 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04731/0.7156, allocations: 8.083 MB / 0.7008 GB, free: 6.219 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.7161, allocations: 0.797 MB / 0.7015 GB, free: 5.387 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004106/0.7166, allocations: 91.08 kB / 0.7016 GB, free: 5.301 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.7168, allocations: 107.3 kB / 0.7017 GB, free: 5.199 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.7168, allocations: 4 kB / 0.7017 GB, free: 5.195 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04408/0.7609, allocations: 16.73 MB / 0.7181 GB, free: 4.523 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.01, allocations: 11.39 kB / 0.7181 GB, free: 4.516 MB / 494.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_BaseClasses_test_GasNode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_BaseClasses_test_GasNode.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.BaseClasses.test_GasNode.pipe 2>&1)