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.001573/0.001573, allocations: 103.2 kB / 16.36 MB, free: 6.301 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.001577/0.001577, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.372/1.372, allocations: 205.1 MB / 223.2 MB, free: 12.24 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 2.017/2.017, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001434/0.001434, allocations: 71.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2507, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004211/0.255, allocations: 2.63 MB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4656/0.7206, allocations: 0.9493 MB / 0.7883 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.721, allocations: 11.25 kB / 0.7883 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.7214, allocations: 65.59 kB / 0.7884 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.7215, allocations: 62.83 kB / 0.7884 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.722, allocations: 241.6 kB / 0.7886 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00044/0.7225, allocations: 457.5 kB / 0.7891 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.7228, allocations: 221.9 kB / 0.7893 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.723, allocations: 150.6 kB / 0.7894 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.7231, allocations: 146.4 kB / 0.7896 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.7232, allocations: 53 kB / 0.7896 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.7232, allocations: 52.59 kB / 0.7897 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.7233, allocations: 92.52 kB / 0.7898 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.7234, allocations: 184.1 kB / 0.7899 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.7239, allocations: 0.6246 MB / 0.7905 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.7239, allocations: 6.25 kB / 0.7906 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7239, allocations: 1.594 kB / 0.7906 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.724, allocations: 0 / 0.7906 GB, free: 46.2 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.0008315/0.7248, allocations: 0.6534 MB / 0.7912 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7248, allocations: 8.969 kB / 0.7912 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.7249, allocations: 43.34 kB / 0.7912 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.7254, allocations: 405.9 kB / 0.7916 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.7254, allocations: 22.06 kB / 0.7916 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.7255, allocations: 27.56 kB / 0.7917 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.726, allocations: 325.9 kB / 0.792 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.726, allocations: 6.562 kB / 0.792 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.726, allocations: 13.77 kB / 0.792 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.726, allocations: 5.25 kB / 0.792 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.7265, allocations: 234.4 kB / 0.7922 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.7277, allocations: 1.155 MB / 0.7934 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.7282, allocations: 236 kB / 0.7936 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.7284, allocations: 94.62 kB / 0.7937 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.7284, allocations: 3.344 kB / 0.7937 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.7284, allocations: 34.25 kB / 0.7937 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.7284, allocations: 0.5312 kB / 0.7937 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006041/0.729, allocations: 301.6 kB / 0.794 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.7291, allocations: 80.61 kB / 0.7941 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.7294, allocations: 338.1 kB / 0.7944 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.7294, allocations: 29.14 kB / 0.7944 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.7295, allocations: 194.8 kB / 0.7946 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.7296, allocations: 56.89 kB / 0.7947 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.7296, allocations: 41.22 kB / 0.7947 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.582e-05/0.7297, allocations: 346.1 kB / 0.795 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.7299, allocations: 89.56 kB / 0.7951 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.7301, allocations: 113.2 kB / 0.7952 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.7304, allocations: 190.8 kB / 0.7954 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7304, allocations: 3.938 kB / 0.7954 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004097/0.7308, allocations: 264.5 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7309, allocations: 3.469 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7309, allocations: 2.953 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7309, allocations: 3.406 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.7311, allocations: 33 kB / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.7311, allocations: 0 / 0.7957 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.7312, allocations: 36.97 kB / 0.7957 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.7312, allocations: 3.5 kB / 0.7957 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002051/0.7315, allocations: 197.6 kB / 0.7959 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001261/0.7316, allocations: 101.8 kB / 0.796 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002185/0.7318, allocations: 167.8 kB / 0.7962 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.82e-07/0.7318, allocations: 0 / 0.7962 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003091/0.7321, allocations: 231.8 kB / 0.7964 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-06/0.7322, allocations: 3.5 kB / 0.7964 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.7322, allocations: 3.188 kB / 0.7964 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-06/0.7322, allocations: 0 / 0.7964 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.7323, allocations: 27.5 kB / 0.7964 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.7323, allocations: 1.875 kB / 0.7965 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.7324, allocations: 15.34 kB / 0.7965 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7324, allocations: 7.531 kB / 0.7965 GB, free: 43.42 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.582e-05/0.7325, allocations: 192 kB / 0.7967 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.7326, allocations: 39.91 kB / 0.7967 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.7326, allocations: 29.19 kB / 0.7967 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7327, allocations: 0 / 0.7967 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7327, allocations: 3.469 kB / 0.7967 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.7327, allocations: 3.938 kB / 0.7967 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.733, allocations: 414.2 kB / 0.7971 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.733, allocations: 0 / 0.7971 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.7332, allocations: 30.94 kB / 0.7972 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.7332, allocations: 0 / 0.7972 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.7332, allocations: 9.156 kB / 0.7972 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7332, allocations: 0 / 0.7972 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7333, allocations: 0.75 kB / 0.7972 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.7339, allocations: 443.2 kB / 0.7976 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/0.734, allocations: 128.9 kB / 0.7977 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.734, allocations: 5 kB / 0.7977 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.7341, allocations: 13.64 kB / 0.7977 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.7342, allocations: 9.844 kB / 0.7977 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.7342, allocations: 7.25 kB / 0.7977 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002138/0.7344, allocations: 245.4 kB / 0.798 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7344, allocations: 1.406 kB / 0.798 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003614/0.7348, allocations: 93.5 kB / 0.7981 GB, free: 42.3 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.786e-05/0.7349, allocations: 108 kB / 0.7982 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.7355, allocations: 281 kB / 0.7984 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7355, allocations: 0 / 0.7984 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.7357, allocations: 95.44 kB / 0.7985 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.7362, allocations: 86.34 kB / 0.7986 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009954/0.7372, allocations: 0.5861 MB / 0.7992 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.7374, allocations: 0.7793 MB / 0.7999 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.7375, allocations: 21.84 kB / 0.8 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7375, allocations: 3.219 kB / 0.8 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.00775/0.7453, allocations: 4.018 MB / 0.8039 GB, free: 40.61 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)