Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 97.06 kB / 16.93 MB, free: 5.781 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.001149/0.001149, allocations: 191.3 kB / 17.87 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.734/0.734, allocations: 122.9 MB / 414.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.4917 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3851, allocations: 77.93 MB / 0.5678 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6633/1.048, allocations: 328.4 MB / 0.8885 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03888/1.087, allocations: 30.05 MB / 0.9179 GB, free: 244 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004486/1.092, allocations: 99.44 kB / 0.918 GB, free: 144 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006045/1.098, allocations: 2.089 MB / 0.92 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0139/1.112, allocations: 4.982 MB / 0.9249 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009141/1.121, allocations: 3.635 MB / 0.9284 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01014/1.131, allocations: 6.926 MB / 0.9352 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005199/1.136, allocations: 2.875 MB / 0.938 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01354/1.15, allocations: 5.26 MB / 0.9431 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005054/1.155, allocations: 2.419 MB / 0.9455 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001372/1.157, allocations: 300 kB / 0.9458 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/1.167, allocations: 4.809 MB / 0.9505 GB, free: 14.76 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001985/1.169, allocations: 1.071 MB / 0.9515 GB, free: 13.69 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003704/1.173, allocations: 1.734 MB / 0.9532 GB, free: 11.95 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01206/1.185, allocations: 5.707 MB / 0.9588 GB, free: 6.223 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.185, allocations: 0 / 0.9588 GB, free: 6.223 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.214e-06/1.185, allocations: 0 / 0.9588 GB, free: 6.223 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001308/1.185, allocations: 0 / 0.9588 GB, free: 6.223 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.008703/1.194, allocations: 3.715 MB / 0.9624 GB, free: 2.422 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.194, allocations: 12.56 kB / 0.9624 GB, free: 2.41 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009917/1.204, allocations: 1.464 MB / 0.9639 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004745/1.209, allocations: 1.987 MB / 0.9658 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001362/1.21, allocations: 396.1 kB / 0.9662 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006917/1.211, allocations: 220 kB / 0.9664 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006642/1.217, allocations: 3.066 MB / 0.9694 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/1.217, allocations: 7.922 kB / 0.9694 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/1.218, allocations: 92 kB / 0.9695 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.109e-05/1.218, allocations: 84 kB / 0.9696 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007567/1.225, allocations: 3.146 MB / 0.9726 GB, free: 7.719 MB / 0.6856 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.02468/1.25, allocations: 14.14 MB / 0.9864 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/1.254, allocations: 1.65 MB / 0.988 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/1.256, allocations: 0.7775 MB / 0.9888 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006482/1.257, allocations: 324.2 kB / 0.9891 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/1.257, allocations: 59.55 kB / 0.9892 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001286/1.258, allocations: 205.9 kB / 0.9894 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 4.889e-06/1.258, allocations: 0 / 0.9894 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.006148/1.264, allocations: 2.352 MB / 0.9917 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/1.264, allocations: 64.41 kB / 0.9917 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004206/1.269, allocations: 2.54 MB / 0.9942 GB, free: 408 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002921/1.269, allocations: 57.7 kB / 0.9943 GB, free: 344 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/1.27, allocations: 1.268 MB / 0.9955 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/1.27, allocations: 382.5 kB / 0.9959 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006593/1.271, allocations: 386.9 kB / 0.9962 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.271, allocations: 309.1 kB / 0.9965 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/1.274, allocations: 0.965 MB / 0.9975 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/1.277, allocations: 1.593 MB / 0.999 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005091/1.282, allocations: 2.24 MB / 1.001 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/1.282, allocations: 4 kB / 1.001 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007604/1.29, allocations: 2.786 MB / 1.004 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/1.29, allocations: 71.41 kB / 1.004 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/1.29, allocations: 20.02 kB / 1.004 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.361e-05/1.29, allocations: 20 kB / 1.004 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/1.293, allocations: 0.5539 MB / 1.005 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/1.295, allocations: 2.387 MB / 1.007 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/1.298, allocations: 325.5 kB / 1.007 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/1.299, allocations: 87.95 kB / 1.007 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003669/1.302, allocations: 1.402 MB / 1.009 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003202/1.306, allocations: 1.585 MB / 1.01 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004931/1.311, allocations: 2.24 MB / 1.012 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.665e-05/1.311, allocations: 4 kB / 1.012 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.007575/1.318, allocations: 2.782 MB / 1.015 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/1.318, allocations: 71.39 kB / 1.015 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/1.318, allocations: 20.03 kB / 1.015 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/1.318, allocations: 24 kB / 1.015 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/1.321, allocations: 0.507 MB / 1.016 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.947e-05/1.321, allocations: 31.88 kB / 1.016 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/1.325, allocations: 324.2 kB / 1.016 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003252/1.325, allocations: 91.95 kB / 1.016 GB, free: 8.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 4 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007043/1.326, allocations: 292.9 kB / 1.016 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007826/1.327, allocations: 260.8 kB / 1.017 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/1.331, allocations: 1.847 MB / 1.019 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/1.331, allocations: 12 kB / 1.019 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.331, allocations: 0 / 1.019 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.331, allocations: 7.969 kB / 1.019 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009195/1.341, allocations: 4.497 MB / 1.023 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.341, allocations: 8.125 kB / 1.023 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/1.342, allocations: 307.5 kB / 1.023 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.105e-05/1.342, allocations: 12 kB / 1.023 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.68e-05/1.343, allocations: 27.98 kB / 1.023 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.307/1.65, allocations: 2.375 MB / 1.026 GB, free: 315.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/1.65, allocations: 9.906 kB / 1.026 GB, free: 315.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005071/1.655, allocations: 1.972 MB / 1.028 GB, free: 315.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.656, allocations: 0.524 MB / 1.028 GB, free: 315.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/1.656, allocations: 33.73 kB / 1.028 GB, free: 315.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.659, allocations: 191.3 kB / 1.028 GB, free: 315.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/1.659, allocations: 82.47 kB / 1.028 GB, free: 315.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.659, allocations: 62 kB / 1.028 GB, free: 315.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003832/1.663, allocations: 1.759 MB / 1.03 GB, free: 314.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.91e-07/1.663, allocations: 0 / 1.03 GB, free: 314.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004861/1.668, allocations: 1.283 MB / 1.031 GB, free: 314.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008808/1.669, allocations: 369.8 kB / 1.032 GB, free: 314.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.679, allocations: 3.758 MB / 1.035 GB, free: 313.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.901e-05/1.679, allocations: 2.344 kB / 1.035 GB, free: 313.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/1.682, allocations: 0.8065 MB / 1.036 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006788/1.688, allocations: 1.213 MB / 1.037 GB, free: 312.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008706/1.697, allocations: 4.409 MB / 1.042 GB, free: 310.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/1.698, allocations: 1.683 MB / 1.043 GB, free: 310 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.7, allocations: 222.4 kB / 1.043 GB, free: 309.9 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/1.7, allocations: 0 / 1.043 GB, free: 309.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.0838/1.784, allocations: 85.83 MB / 1.127 GB, free: 236.3 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)