Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001093/0.001093, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.001115/0.001115, allocations: 188 kB / 17.2 MB, free: 5.938 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.252/1.252, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00226/0.00226, allocations: 291.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.911/0.911, allocations: 169.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 88.95 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.156, allocations: 86.98 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003865/0.1599, allocations: 2.613 MB / 0.6834 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1614, allocations: 0.904 MB / 0.6843 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.1618, allocations: 11.94 kB / 0.6843 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1621, allocations: 63.39 kB / 0.6843 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1624, allocations: 71.39 kB / 0.6844 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.1629, allocations: 227.7 kB / 0.6846 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.1635, allocations: 451.7 kB / 0.6851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.1639, allocations: 237.3 kB / 0.6853 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.164, allocations: 135.5 kB / 0.6854 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1642, allocations: 159.1 kB / 0.6856 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.1643, allocations: 48 kB / 0.6856 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.913e-05/0.1644, allocations: 52 kB / 0.6857 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.1645, allocations: 91.7 kB / 0.6857 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1646, allocations: 191 kB / 0.6859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.1651, allocations: 0.5998 MB / 0.6865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1651, allocations: 0 / 0.6865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1651, allocations: 0 / 0.6865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1652, allocations: 0 / 0.6865 GB, free: 2.32 MB / 494.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.0009253/0.1661, allocations: 0.6468 MB / 0.6871 GB, free: 1.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1661, allocations: 8.031 kB / 0.6872 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.1662, allocations: 40.47 kB / 0.6872 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.1666, allocations: 383.2 kB / 0.6876 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.1667, allocations: 20.94 kB / 0.6876 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.1667, allocations: 24.38 kB / 0.6876 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.1673, allocations: 337.7 kB / 0.6879 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1673, allocations: 0 / 0.6879 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.1673, allocations: 8 kB / 0.6879 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1673, allocations: 8 kB / 0.6879 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.1678, allocations: 238 kB / 0.6882 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2663/0.4341, allocations: 1.162 MB / 0.6893 GB, free: 17.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.4346, allocations: 231.4 kB / 0.6895 GB, free: 17.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.4347, allocations: 96.47 kB / 0.6896 GB, free: 17.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4348, allocations: 2.578 kB / 0.6896 GB, free: 17.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.4348, allocations: 44.12 kB / 0.6897 GB, free: 17.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.4348, allocations: 1.219 kB / 0.6897 GB, free: 17.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006226/0.4354, allocations: 294.7 kB / 0.6899 GB, free: 17.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.4355, allocations: 79.92 kB / 0.69 GB, free: 17.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.4358, allocations: 328.2 kB / 0.6903 GB, free: 17.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.4358, allocations: 33.17 kB / 0.6904 GB, free: 17.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4359, allocations: 200 kB / 0.6905 GB, free: 17.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.436, allocations: 57.95 kB / 0.6906 GB, free: 17.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.4361, allocations: 38.02 kB / 0.6906 GB, free: 17.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.4361, allocations: 346.1 kB / 0.691 GB, free: 16.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.4363, allocations: 85.42 kB / 0.6911 GB, free: 16.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.4365, allocations: 125 kB / 0.6912 GB, free: 16.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.4368, allocations: 185.8 kB / 0.6913 GB, free: 16.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4368, allocations: 4.469 kB / 0.6914 GB, free: 16.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004114/0.4373, allocations: 256.1 kB / 0.6916 GB, free: 16.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4373, allocations: 6.188 kB / 0.6916 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4373, allocations: 0.6094 kB / 0.6916 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4373, allocations: 2.844 kB / 0.6916 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4375, allocations: 33.11 kB / 0.6916 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4375, allocations: 1.375 kB / 0.6916 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.4376, allocations: 32.73 kB / 0.6917 GB, free: 16.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.4376, allocations: 4.125 kB / 0.6917 GB, free: 16.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001857/0.4378, allocations: 199.2 kB / 0.6919 GB, free: 16.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001273/0.438, allocations: 100.2 kB / 0.692 GB, free: 16.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002232/0.4382, allocations: 168.3 kB / 0.6921 GB, free: 16.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.4382, allocations: 0 / 0.6921 GB, free: 16.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003253/0.4385, allocations: 226.3 kB / 0.6923 GB, free: 15.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.4386, allocations: 5.469 kB / 0.6923 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.4386, allocations: 3.844 kB / 0.6923 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.4386, allocations: 2.188 kB / 0.6923 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4387, allocations: 33.61 kB / 0.6924 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.4387, allocations: 1.703 kB / 0.6924 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.4388, allocations: 15.03 kB / 0.6924 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.4388, allocations: 10.67 kB / 0.6924 GB, free: 15.97 MB / 494.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 6.611e-05/0.4389, allocations: 189 kB / 0.6926 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.439, allocations: 34.16 kB / 0.6926 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/0.439, allocations: 35.56 kB / 0.6927 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.439, allocations: 5.688 kB / 0.6927 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.439, allocations: 1.062 kB / 0.6927 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4391, allocations: 2.531 kB / 0.6927 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.4394, allocations: 407.9 kB / 0.6931 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4394, allocations: 0.6094 kB / 0.6931 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.4396, allocations: 28.84 kB / 0.6931 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4396, allocations: 1.188 kB / 0.6931 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4396, allocations: 5.453 kB / 0.6931 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4396, allocations: 5 kB / 0.6931 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4396, allocations: 0.9062 kB / 0.6931 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.4402, allocations: 433.9 kB / 0.6935 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.4403, allocations: 135.8 kB / 0.6936 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.4404, allocations: 7.281 kB / 0.6936 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4405, allocations: 15.55 kB / 0.6937 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.4406, allocations: 17.23 kB / 0.6937 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4406, allocations: 3.141 kB / 0.6937 GB, free: 15.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.4408, allocations: 232 kB / 0.6939 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4408, allocations: 0 / 0.6939 GB, free: 14.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.4412, allocations: 92.28 kB / 0.694 GB, free: 14.86 MB / 494.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 8.19e-05/0.4413, allocations: 102 kB / 0.6941 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.4418, allocations: 291.7 kB / 0.6944 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4418, allocations: 0.75 kB / 0.6944 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.442, allocations: 100.1 kB / 0.6945 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.4426, allocations: 89.44 kB / 0.6945 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/0.4435, allocations: 0.5803 MB / 0.6951 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.4437, allocations: 0.776 MB / 0.6959 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.4438, allocations: 22.27 kB / 0.6959 GB, free: 13.52 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4438, allocations: 0 / 0.6959 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Templates: time 0.006232/0.45, allocations: 3.968 MB / 0.6998 GB, free: 13.08 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)