Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.689/3.689, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00203/0.002029, allocations: 172.2 kB / 326.2 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.798/3.798, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 99.64 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007391/0.0007394, allocations: 13.62 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.31, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.6726, allocations: 137.6 MB / 1.034 GB, free: 7.816 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005099/0.6732, allocations: 87.95 kB / 1.034 GB, free: 7.73 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.04233/0.7155, allocations: 7.036 MB / 1.041 GB, free: 0.6719 MB / 0.6824 GB Notification: Performance of FrontEnd: time 8.556e-06/0.7156, allocations: 3.984 kB / 1.041 GB, free: 0.668 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.675e-05/0.7157, allocations: 8 kB / 1.041 GB, free: 0.6602 MB / 0.6824 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.00195/0.7177, allocations: 0.5883 MB / 1.041 GB, free: 20 kB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.7178, allocations: 12.03 kB / 1.041 GB, free: 8 kB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.7181, allocations: 40.64 kB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.7194, allocations: 403.9 kB / 1.042 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/0.7195, allocations: 16.94 kB / 1.042 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.7196, allocations: 28.38 kB / 1.042 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.7211, allocations: 329.9 kB / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.7212, allocations: 192 / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.7213, allocations: 15.94 kB / 1.042 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.7214, allocations: 8 kB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.7228, allocations: 250.1 kB / 1.042 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/0.7266, allocations: 1.178 MB / 1.044 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.728, allocations: 238.9 kB / 1.044 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.7286, allocations: 100.8 kB / 1.044 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.7286, allocations: 7.938 kB / 1.044 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.7287, allocations: 34.56 kB / 1.044 GB, free: 13.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 4.759e-06/0.7287, allocations: 224 / 1.044 GB, free: 13.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001834/0.7306, allocations: 318.4 kB / 1.044 GB, free: 12.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.7307, allocations: 81.05 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/0.7317, allocations: 337.7 kB / 1.045 GB, free: 12.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.7318, allocations: 29.7 kB / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.7321, allocations: 200 kB / 1.045 GB, free: 12.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.7323, allocations: 47.27 kB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.7323, allocations: 8 kB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000252/0.7326, allocations: 346.7 kB / 1.045 GB, free: 11.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.7333, allocations: 83.97 kB / 1.045 GB, free: 11.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.7339, allocations: 133.2 kB / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.7345, allocations: 87.98 kB / 1.046 GB, free: 11.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.7345, allocations: 0 / 1.046 GB, free: 11.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001343/0.7359, allocations: 266.7 kB / 1.046 GB, free: 11.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.736, allocations: 110.8 kB / 1.046 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.7361, allocations: 3.984 kB / 1.046 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.7361, allocations: 0 / 1.046 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.7366, allocations: 43.86 kB / 1.046 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.7367, allocations: 0 / 1.046 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.7371, allocations: 27.83 kB / 1.046 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.7372, allocations: 8 kB / 1.046 GB, free: 11.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7372, allocations: 5.562 kB / 1.046 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008592/0.7381, allocations: 171.8 kB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7382, allocations: 0 / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.7382, allocations: 4 kB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.7386, allocations: 27.92 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.7386, allocations: 7.984 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.739, allocations: 23.78 kB / 1.046 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.7391, allocations: 8.062 kB / 1.046 GB, free: 10.84 MB / 0.698 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 (actSet.y,actAct.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005335/0.7396, allocations: 241 kB / 1.046 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.7398, allocations: 31.62 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.74, allocations: 35.28 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.74, allocations: 0 / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.74, allocations: 0 / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.7401, allocations: 4 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.7411, allocations: 413.2 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.7412, allocations: 3.984 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.7418, allocations: 31.92 kB / 1.047 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.7418, allocations: 7.938 kB / 1.047 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.7419, allocations: 0 / 1.047 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.7419, allocations: 0 / 1.047 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7419, allocations: 0 / 1.047 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.7439, allocations: 453.4 kB / 1.047 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.7443, allocations: 140.7 kB / 1.047 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-05/0.7444, allocations: 0 / 1.047 GB, free: 9.414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.7449, allocations: 20.05 kB / 1.048 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.745, allocations: 15.92 kB / 1.048 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.7451, allocations: 7.938 kB / 1.048 GB, free: 9.371 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006709/0.7457, allocations: 239.2 kB / 1.048 GB, free: 9.141 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.132e-06/0.7458, allocations: 0 / 1.048 GB, free: 9.141 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001127/0.7469, allocations: 87.69 kB / 1.048 GB, free: 9.055 MB / 0.698 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 (actSet.y,actAct.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002908/0.7473, allocations: 115.2 kB / 1.048 GB, free: 8.934 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.749, allocations: 297.6 kB / 1.048 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.749, allocations: 0 / 1.048 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.7496, allocations: 104.2 kB / 1.048 GB, free: 8.543 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.7512, allocations: 78.39 kB / 1.048 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.7541, allocations: 0.6483 MB / 1.049 GB, free: 7.789 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/0.7549, allocations: 0.7755 MB / 1.05 GB, free: 6.988 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004145/0.7554, allocations: 26.28 kB / 1.05 GB, free: 6.965 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.7555, allocations: 19.44 kB / 1.05 GB, free: 6.945 MB / 0.698 GB Notification: Performance of SimCode: time 7.885e-06/0.7556, allocations: 4 kB / 1.05 GB, free: 6.941 MB / 0.698 GB Notification: Performance of Templates: time 0.01704/0.7726, allocations: 2.921 MB / 1.053 GB, free: 4.047 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)