Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 100.1 kB / 15.88 MB, free: 12 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.001435/0.001435, allocations: 210 kB / 16.79 MB, free: 6.84 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7219/0.7219, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.53 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1949, allocations: 77.93 MB / 0.5665 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004935/0.1999, allocations: 2.633 MB / 0.5691 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2017, allocations: 0.8688 MB / 0.5699 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.202, allocations: 11.94 kB / 0.5699 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.2023, allocations: 51.58 kB / 0.57 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.2026, allocations: 43.66 kB / 0.57 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.2032, allocations: 219 kB / 0.5702 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.2036, allocations: 407.6 kB / 0.5706 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/0.204, allocations: 229.1 kB / 0.5709 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2042, allocations: 107.4 kB / 0.571 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.2044, allocations: 135.1 kB / 0.5711 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.2044, allocations: 16 kB / 0.5711 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-05/0.2045, allocations: 19.94 kB / 0.5711 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.2045, allocations: 47.78 kB / 0.5712 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.2047, allocations: 155 kB / 0.5713 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.2052, allocations: 0.5726 MB / 0.5719 GB, free: 11.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2052, allocations: 0 / 0.5719 GB, free: 11.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2052, allocations: 4 kB / 0.5719 GB, free: 11.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.2052, allocations: 0 / 0.5719 GB, free: 11.21 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001201/0.2064, allocations: 0.6429 MB / 0.5725 GB, free: 10.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2065, allocations: 8.031 kB / 0.5725 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.2066, allocations: 48.38 kB / 0.5726 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.2072, allocations: 379.3 kB / 0.5729 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2073, allocations: 20.94 kB / 0.5729 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.2073, allocations: 24.38 kB / 0.573 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.208, allocations: 333.7 kB / 0.5733 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.208, allocations: 3.984 kB / 0.5733 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.2081, allocations: 12 kB / 0.5733 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2081, allocations: 8 kB / 0.5733 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/0.2086, allocations: 234.1 kB / 0.5735 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.2104, allocations: 1.17 MB / 0.5747 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.2109, allocations: 226.7 kB / 0.5749 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.2111, allocations: 108.9 kB / 0.575 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.2111, allocations: 0 / 0.575 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.2112, allocations: 30.56 kB / 0.575 GB, free: 7.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.705e-06/0.2112, allocations: 0 / 0.575 GB, free: 7.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006623/0.2118, allocations: 306.9 kB / 0.5753 GB, free: 7.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.2119, allocations: 81.11 kB / 0.5754 GB, free: 7.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.2123, allocations: 332.4 kB / 0.5757 GB, free: 7.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.2123, allocations: 25.7 kB / 0.5757 GB, free: 7.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.2124, allocations: 196.1 kB / 0.5759 GB, free: 6.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.2125, allocations: 59.19 kB / 0.576 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.2126, allocations: 37.7 kB / 0.576 GB, free: 6.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2127, allocations: 338.8 kB / 0.5763 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2129, allocations: 92.83 kB / 0.5764 GB, free: 6.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2131, allocations: 115.3 kB / 0.5765 GB, free: 6.191 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.2135, allocations: 196.4 kB / 0.5767 GB, free: 5.992 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2135, allocations: 0 / 0.5767 GB, free: 5.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004906/0.214, allocations: 249.2 kB / 0.577 GB, free: 5.742 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.214, allocations: 4 kB / 0.577 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.214, allocations: 0 / 0.577 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2141, allocations: 0 / 0.577 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.2143, allocations: 39.91 kB / 0.577 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.2143, allocations: 4.062 kB / 0.577 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.2144, allocations: 35.56 kB / 0.577 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.2145, allocations: 4 kB / 0.577 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002421/0.2147, allocations: 200.1 kB / 0.5772 GB, free: 5.457 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001627/0.2149, allocations: 105.5 kB / 0.5773 GB, free: 5.344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002609/0.2152, allocations: 164.9 kB / 0.5775 GB, free: 5.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.2152, allocations: 0 / 0.5775 GB, free: 5.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003753/0.2155, allocations: 229.1 kB / 0.5777 GB, free: 4.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.2156, allocations: 6.656 kB / 0.5777 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.2156, allocations: 0 / 0.5777 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.2156, allocations: 4 kB / 0.5777 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2157, allocations: 27.92 kB / 0.5777 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.2157, allocations: 8.062 kB / 0.5778 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2159, allocations: 19.78 kB / 0.5778 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2159, allocations: 7.938 kB / 0.5778 GB, free: 4.875 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001201/0.216, allocations: 184.3 kB / 0.578 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.2161, allocations: 39.61 kB / 0.578 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.2161, allocations: 35.28 kB / 0.578 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2162, allocations: 0 / 0.578 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2162, allocations: 0 / 0.578 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2162, allocations: 7.938 kB / 0.578 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.2166, allocations: 405.4 kB / 0.5784 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2166, allocations: 0 / 0.5784 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.2168, allocations: 31.92 kB / 0.5785 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2168, allocations: 0 / 0.5785 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2169, allocations: 0 / 0.5785 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2169, allocations: 4 kB / 0.5785 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2169, allocations: 0 / 0.5785 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.2176, allocations: 445.2 kB / 0.5789 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2177, allocations: 132.6 kB / 0.579 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.2178, allocations: 11.98 kB / 0.579 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.2179, allocations: 8 kB / 0.579 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.218, allocations: 11.92 kB / 0.579 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.218, allocations: 4 kB / 0.579 GB, free: 3.492 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002471/0.2182, allocations: 235.1 kB / 0.5793 GB, free: 3.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2183, allocations: 4.062 kB / 0.5793 GB, free: 3.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004198/0.2187, allocations: 87.59 kB / 0.5794 GB, free: 3.176 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001255/0.2188, allocations: 103.2 kB / 0.5795 GB, free: 3.066 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000601/0.2194, allocations: 283.8 kB / 0.5797 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2194, allocations: 256 / 0.5797 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.2196, allocations: 103.8 kB / 0.5798 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.2203, allocations: 78.23 kB / 0.5799 GB, free: 2.613 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2215, allocations: 0.666 MB / 0.5805 GB, free: 1.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.2219, allocations: 0.7716 MB / 0.5813 GB, free: 1.121 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.2221, allocations: 26.28 kB / 0.5813 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.2221, allocations: 23.44 kB / 0.5813 GB, free: 1.07 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2222, allocations: 0 / 0.5813 GB, free: 1.07 MB / 446.1 MB Notification: Performance of Templates: time 0.2702/0.4924, allocations: 2.966 MB / 0.5842 GB, free: 22.93 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)