Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001309/0.001309, allocations: 100.1 kB / 16.26 MB, free: 6.418 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.001189/0.001189, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.451/1.451, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.848/1.848, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.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.001407/0.001407, allocations: 63.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2437, allocations: 114.6 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004357/0.2481, allocations: 2.638 MB / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.2501, allocations: 0.9477 MB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.2505, allocations: 15.94 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.2508, allocations: 63.39 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.251, allocations: 67.39 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4831/0.7341, allocations: 230.8 kB / 0.7879 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007206/0.7349, allocations: 462.4 kB / 0.7883 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.7353, allocations: 218.9 kB / 0.7885 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.7354, allocations: 153.8 kB / 0.7887 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.7356, allocations: 152 kB / 0.7888 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.7357, allocations: 49.75 kB / 0.7889 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.102e-05/0.7357, allocations: 49.59 kB / 0.7889 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.7358, allocations: 92.22 kB / 0.789 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.7359, allocations: 189.4 kB / 0.7892 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.7365, allocations: 0.6049 MB / 0.7898 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7365, allocations: 0 / 0.7898 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7365, allocations: 0 / 0.7898 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.7365, allocations: 2.625 kB / 0.7898 GB, free: 45.72 MB / 0.6544 GB 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.0008755/0.7374, allocations: 0.6579 MB / 0.7904 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7374, allocations: 8.438 kB / 0.7904 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.472e-05/0.7375, allocations: 43.5 kB / 0.7905 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.7379, allocations: 388.7 kB / 0.7908 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.738, allocations: 23.66 kB / 0.7909 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.738, allocations: 29.3 kB / 0.7909 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.7385, allocations: 326.6 kB / 0.7912 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.7386, allocations: 3.938 kB / 0.7912 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.7386, allocations: 17.19 kB / 0.7912 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.7386, allocations: 5.344 kB / 0.7912 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.739, allocations: 232.5 kB / 0.7915 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.7403, allocations: 1.167 MB / 0.7926 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.7408, allocations: 234.7 kB / 0.7928 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.7409, allocations: 97.98 kB / 0.7929 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.741, allocations: 3.031 kB / 0.7929 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.741, allocations: 33.53 kB / 0.7929 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.741, allocations: 0 / 0.7929 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0005997/0.7416, allocations: 299.5 kB / 0.7932 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.7417, allocations: 78.92 kB / 0.7933 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.742, allocations: 339 kB / 0.7936 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.742, allocations: 29.83 kB / 0.7937 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.7421, allocations: 199.5 kB / 0.7938 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.7422, allocations: 58.16 kB / 0.7939 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.7422, allocations: 38.58 kB / 0.7939 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.7423, allocations: 351.8 kB / 0.7943 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.7425, allocations: 89.91 kB / 0.7944 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.7427, allocations: 116.1 kB / 0.7945 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.743, allocations: 191.8 kB / 0.7947 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.743, allocations: 0 / 0.7947 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003983/0.7434, allocations: 252.4 kB / 0.7949 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7434, allocations: 9.328 kB / 0.7949 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7434, allocations: 0 / 0.7949 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.7434, allocations: 0 / 0.7949 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.7436, allocations: 36.59 kB / 0.7949 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7436, allocations: 0 / 0.7949 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.7438, allocations: 35.42 kB / 0.795 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.7438, allocations: 7.062 kB / 0.795 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001949/0.744, allocations: 192.3 kB / 0.7952 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000133/0.7441, allocations: 102.2 kB / 0.7953 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002221/0.7444, allocations: 166.5 kB / 0.7954 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.41e-07/0.7444, allocations: 0.7188 kB / 0.7954 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003042/0.7447, allocations: 229.9 kB / 0.7956 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.7447, allocations: 6.906 kB / 0.7956 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-06/0.7447, allocations: 0 / 0.7956 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.7447, allocations: 3.656 kB / 0.7956 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.7448, allocations: 30.34 kB / 0.7957 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.7448, allocations: 3.5 kB / 0.7957 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.7449, allocations: 12.98 kB / 0.7957 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.745, allocations: 9.125 kB / 0.7957 GB, free: 43.27 MB / 0.6544 GB 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 8.267e-05/0.745, allocations: 191.6 kB / 0.7959 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.7451, allocations: 29.47 kB / 0.7959 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.332e-05/0.7452, allocations: 35.14 kB / 0.7959 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7452, allocations: 3.406 kB / 0.7959 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7452, allocations: 4 kB / 0.796 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7452, allocations: 3.938 kB / 0.796 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.7456, allocations: 420 kB / 0.7964 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7456, allocations: 0.5625 kB / 0.7964 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.7457, allocations: 26.81 kB / 0.7964 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7458, allocations: 0 / 0.7964 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.7458, allocations: 4 kB / 0.7964 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.7458, allocations: 10.7 kB / 0.7964 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7458, allocations: 0 / 0.7964 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/0.7464, allocations: 439.2 kB / 0.7968 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.7465, allocations: 129.9 kB / 0.7969 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.7465, allocations: 4.781 kB / 0.7969 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.7466, allocations: 10.91 kB / 0.797 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.7467, allocations: 12.59 kB / 0.797 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.7467, allocations: 11.5 kB / 0.797 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001834/0.7469, allocations: 241 kB / 0.7972 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7469, allocations: 0 / 0.7972 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003639/0.7473, allocations: 96.81 kB / 0.7973 GB, free: 42.18 MB / 0.6544 GB 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 9.715e-05/0.7474, allocations: 106 kB / 0.7974 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005326/0.7479, allocations: 289.3 kB / 0.7977 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7479, allocations: 0 / 0.7977 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.7481, allocations: 96.94 kB / 0.7978 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.7487, allocations: 75.02 kB / 0.7978 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009535/0.7497, allocations: 0.6011 MB / 0.7984 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.7499, allocations: 0.7758 MB / 0.7992 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.75, allocations: 21.88 kB / 0.7992 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.75, allocations: 0 / 0.7992 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.007423/0.7574, allocations: 4.016 MB / 0.8031 GB, free: 40.5 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)