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.000999/0.0009993, allocations: 108.9 kB / 16.36 MB, free: 5.824 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.0009896/0.0009897, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 294.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9255/0.9255, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001776, allocations: 92.2 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1557, allocations: 86.97 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003572/0.1593, allocations: 2.61 MB / 0.6841 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1606, allocations: 0.9118 MB / 0.685 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1608, allocations: 11.94 kB / 0.685 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.161, allocations: 59.39 kB / 0.6851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.1611, allocations: 67.34 kB / 0.6852 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.1615, allocations: 234.7 kB / 0.6854 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.1619, allocations: 451.7 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.1622, allocations: 233 kB / 0.686 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1624, allocations: 151.3 kB / 0.6862 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1625, allocations: 143.2 kB / 0.6863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.1626, allocations: 52 kB / 0.6864 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.561e-05/0.1626, allocations: 48 kB / 0.6864 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.1627, allocations: 95.7 kB / 0.6865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1628, allocations: 191 kB / 0.6867 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.1633, allocations: 0.6114 MB / 0.6873 GB, free: 1.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1633, allocations: 7.938 kB / 0.6873 GB, free: 1.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1633, allocations: 3.938 kB / 0.6873 GB, free: 1.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1633, allocations: 0 / 0.6873 GB, free: 1.598 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.0007959/0.1641, allocations: 0.6351 MB / 0.6879 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.1642, allocations: 16.03 kB / 0.6879 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.1642, allocations: 40.47 kB / 0.688 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.1647, allocations: 395.1 kB / 0.6883 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.1647, allocations: 20.94 kB / 0.6884 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.1648, allocations: 24.38 kB / 0.6884 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.1653, allocations: 333.7 kB / 0.6887 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1653, allocations: 3.984 kB / 0.6887 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.1653, allocations: 8 kB / 0.6887 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1653, allocations: 8 kB / 0.6887 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2551/0.4204, allocations: 229.1 kB / 0.6889 GB, free: 18.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.4218, allocations: 1.157 MB / 0.6901 GB, free: 17.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.4223, allocations: 229.4 kB / 0.6903 GB, free: 17.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.4225, allocations: 100.9 kB / 0.6904 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.4225, allocations: 2.469 kB / 0.6904 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.4225, allocations: 34.88 kB / 0.6904 GB, free: 17.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.4225, allocations: 0 / 0.6904 GB, free: 17.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005758/0.4231, allocations: 294.1 kB / 0.6907 GB, free: 17.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.4231, allocations: 81.62 kB / 0.6908 GB, free: 17.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.4234, allocations: 333.6 kB / 0.6911 GB, free: 17.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4235, allocations: 27.52 kB / 0.6911 GB, free: 17.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.4236, allocations: 199 kB / 0.6913 GB, free: 17.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.4236, allocations: 53 kB / 0.6914 GB, free: 17.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.4237, allocations: 44.19 kB / 0.6914 GB, free: 17.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.4237, allocations: 350.5 kB / 0.6917 GB, free: 16.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.4239, allocations: 86.92 kB / 0.6918 GB, free: 16.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.4241, allocations: 120.8 kB / 0.6919 GB, free: 16.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.4244, allocations: 192.4 kB / 0.6921 GB, free: 16.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4244, allocations: 0 / 0.6921 GB, free: 16.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004093/0.4248, allocations: 255.3 kB / 0.6924 GB, free: 16.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4249, allocations: 10.94 kB / 0.6924 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4249, allocations: 0.7188 kB / 0.6924 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4249, allocations: 8 kB / 0.6924 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.4251, allocations: 28.81 kB / 0.6924 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4251, allocations: 1.812 kB / 0.6924 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.4252, allocations: 24.08 kB / 0.6924 GB, free: 16.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4252, allocations: 5.688 kB / 0.6924 GB, free: 16.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001898/0.4254, allocations: 200.4 kB / 0.6926 GB, free: 16.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001435/0.4256, allocations: 110.3 kB / 0.6927 GB, free: 16.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002231/0.4258, allocations: 159 kB / 0.6929 GB, free: 16.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.4258, allocations: 0.8438 kB / 0.6929 GB, free: 16.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003138/0.4261, allocations: 229.9 kB / 0.6931 GB, free: 15.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.4262, allocations: 6.25 kB / 0.6931 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.4262, allocations: 2.781 kB / 0.6931 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-06/0.4262, allocations: 1.781 kB / 0.6931 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4263, allocations: 29.12 kB / 0.6932 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.4263, allocations: 3.188 kB / 0.6932 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.4264, allocations: 18.72 kB / 0.6932 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.4264, allocations: 5.188 kB / 0.6932 GB, free: 15.91 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.277e-05/0.4265, allocations: 194.9 kB / 0.6934 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.4266, allocations: 34.42 kB / 0.6934 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.4266, allocations: 32.02 kB / 0.6934 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4266, allocations: 2.531 kB / 0.6934 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4266, allocations: 5.312 kB / 0.6934 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4267, allocations: 1.266 kB / 0.6934 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.427, allocations: 413 kB / 0.6938 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.427, allocations: 0.5625 kB / 0.6938 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.4272, allocations: 29.08 kB / 0.6939 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4272, allocations: 1.5 kB / 0.6939 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4272, allocations: 1.094 kB / 0.6939 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4272, allocations: 1.969 kB / 0.6939 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4272, allocations: 0 / 0.6939 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.4278, allocations: 442 kB / 0.6943 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.089e-05/0.4279, allocations: 128.8 kB / 0.6944 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.428, allocations: 9.953 kB / 0.6944 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.4281, allocations: 12.95 kB / 0.6944 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.4282, allocations: 8.531 kB / 0.6944 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4282, allocations: 6.75 kB / 0.6944 GB, free: 14.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.4284, allocations: 240.2 kB / 0.6947 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4284, allocations: 0 / 0.6947 GB, free: 14.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.4288, allocations: 92.06 kB / 0.6948 GB, free: 14.81 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.774e-05/0.4289, allocations: 106.2 kB / 0.6949 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.4294, allocations: 290.2 kB / 0.6951 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4294, allocations: 1.406 kB / 0.6951 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.4296, allocations: 95.11 kB / 0.6952 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.4301, allocations: 70.44 kB / 0.6953 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009057/0.431, allocations: 0.5568 MB / 0.6958 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.4312, allocations: 0.7743 MB / 0.6966 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.4314, allocations: 34.58 kB / 0.6966 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.4314, allocations: 21.41 kB / 0.6967 GB, free: 13.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4314, allocations: 0 / 0.6967 GB, free: 13.5 MB / 494.1 MB Notification: Performance of Templates: time 0.007239/0.4387, allocations: 3.148 MB / 0.6997 GB, free: 13.31 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)