Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 172.9 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4458/0.4458, allocations: 89.06 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 225.7 MB / 353.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008148/0.0008148, allocations: 92.8 kB / 425.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 11.98 kB / 0.4955 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3115, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09934/0.4109, allocations: 115 MB / 0.6775 GB, free: 5.254 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3086/0.7195, allocations: 35.73 MB / 0.7124 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004504/0.724, allocations: 94.75 kB / 0.7125 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002857/0.7269, allocations: 0.9191 MB / 0.7134 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007944/0.7349, allocations: 3.154 MB / 0.7165 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00535/0.7403, allocations: 2.07 MB / 0.7185 GB, free: 35.66 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008551/0.7488, allocations: 8.126 MB / 0.7264 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.7515, allocations: 1.544 MB / 0.7279 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00574/0.7572, allocations: 2.325 MB / 0.7302 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004199/0.7614, allocations: 1.712 MB / 0.7319 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005322/0.762, allocations: 91.41 kB / 0.732 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005979/0.768, allocations: 2.022 MB / 0.7339 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006916/0.7687, allocations: 392.5 kB / 0.7343 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003352/0.7721, allocations: 1.159 MB / 0.7354 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007155/0.7792, allocations: 3.922 MB / 0.7393 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.7793, allocations: 0.5938 kB / 0.7393 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7793, allocations: 0.875 kB / 0.7393 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.55e-05/0.7793, allocations: 0 / 0.7393 GB, free: 34.68 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004356/0.7837, allocations: 2.418 MB / 0.7416 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.7838, allocations: 6.969 kB / 0.7416 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.7842, allocations: 265 kB / 0.7419 GB, free: 33.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.7875, allocations: 2.078 MB / 0.7439 GB, free: 32.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.7875, allocations: 100.6 kB / 0.744 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.7877, allocations: 137.6 kB / 0.7441 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.7898, allocations: 1.451 MB / 0.7456 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.7898, allocations: 10.5 kB / 0.7456 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/0.7899, allocations: 51.56 kB / 0.7456 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.79, allocations: 37.05 kB / 0.7457 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.7916, allocations: 1.023 MB / 0.7467 GB, free: 32.48 MB / 0.5105 GB 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.00606/0.7976, allocations: 8.136 MB / 0.7546 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.7988, allocations: 0.8358 MB / 0.7554 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.7993, allocations: 371.5 kB / 0.7558 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/0.8006, allocations: 2.817 MB / 0.7585 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.8006, allocations: 40.81 kB / 0.7586 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=85): time 2.655e-06/0.8006, allocations: 0 / 0.7586 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85): time 0.001788/0.8024, allocations: 1.138 MB / 0.7597 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.8025, allocations: 60.84 kB / 0.7597 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.8041, allocations: 1.588 MB / 0.7613 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.8042, allocations: 39.3 kB / 0.7613 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.8047, allocations: 0.9263 MB / 0.7622 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.8049, allocations: 304.3 kB / 0.7625 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.8049, allocations: 20.16 kB / 0.7625 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.805, allocations: 353.9 kB / 0.7629 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.8055, allocations: 323.3 kB / 0.7632 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.8061, allocations: 0.7039 MB / 0.7639 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.8073, allocations: 1.088 MB / 0.7649 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.8073, allocations: 3.406 kB / 0.7649 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001757/0.8091, allocations: 1.254 MB / 0.7662 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.8092, allocations: 438.7 kB / 0.7666 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.8093, allocations: 20.58 kB / 0.7666 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.8093, allocations: 19.03 kB / 0.7666 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/0.8101, allocations: 261.6 kB / 0.7669 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.8101, allocations: 24.5 kB / 0.7669 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.8113, allocations: 187.6 kB / 0.7671 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.8114, allocations: 64.53 kB / 0.7671 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.8114, allocations: 3.375 kB / 0.7671 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001455/0.8128, allocations: 1.053 MB / 0.7682 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.8129, allocations: 17.53 kB / 0.7682 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8129, allocations: 22.12 kB / 0.7682 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/0.8136, allocations: 259.5 kB / 0.7684 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.8136, allocations: 29.08 kB / 0.7685 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.8147, allocations: 161 kB / 0.7686 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.8148, allocations: 67.47 kB / 0.7687 GB, free: 19.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007298/0.8156, allocations: 474.6 kB / 0.7691 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.8158, allocations: 194.4 kB / 0.7693 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.8183, allocations: 1.738 MB / 0.771 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/0.8184, allocations: 22.58 kB / 0.771 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.8184, allocations: 3.312 kB / 0.771 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/0.8197, allocations: 1.14 MB / 0.7722 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/0.8239, allocations: 3.487 MB / 0.7756 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/0.8239, allocations: 12.8 kB / 0.7756 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.8246, allocations: 202.1 kB / 0.7758 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.8246, allocations: 15.94 kB / 0.7758 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.8247, allocations: 44.97 kB / 0.7758 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.8247, allocations: 15 kB / 0.7758 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8247, allocations: 6.891 kB / 0.7758 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.8272, allocations: 2.228 MB / 0.778 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006381/0.8278, allocations: 476.9 kB / 0.7785 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.8281, allocations: 37.05 kB / 0.7785 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000917/0.829, allocations: 99.64 kB / 0.7786 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.8291, allocations: 117.9 kB / 0.7787 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.879e-05/0.8292, allocations: 60.09 kB / 0.7788 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001183/0.8304, allocations: 1.056 MB / 0.7798 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8304, allocations: 0 / 0.7798 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002448/0.8329, allocations: 1.121 MB / 0.7809 GB, free: 11.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/0.8342, allocations: 0.7982 MB / 0.7817 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002288/0.8365, allocations: 1.805 MB / 0.7834 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8365, allocations: 0 / 0.7834 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009191/0.8374, allocations: 0.8289 MB / 0.7843 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/0.8424, allocations: 0.9316 MB / 0.7852 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.8469, allocations: 4.446 MB / 0.7895 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.8475, allocations: 1.435 MB / 0.7909 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001753/0.8493, allocations: 0.5455 MB / 0.7914 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.8496, allocations: 188.3 kB / 0.7916 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/0.8496, allocations: 0 / 0.7916 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of Templates: time 0.06004/0.9097, allocations: 41.45 MB / 0.8321 GB, free: 8.648 MB / 0.5573 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)