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/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 292.3 MB / 308.1 MB, free: 4.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 184.5 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205 MB / 0.6353 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 103 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009822/0.0009823, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.233, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003707/0.2368, allocations: 2.653 MB / 0.9848 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2381, allocations: 0.9321 MB / 0.9857 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.2383, allocations: 19.88 kB / 0.9857 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.2384, allocations: 43.64 kB / 0.9858 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.2386, allocations: 43.61 kB / 0.9858 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.239, allocations: 223.8 kB / 0.986 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.2394, allocations: 411.7 kB / 0.9864 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.2397, allocations: 221.4 kB / 0.9866 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2398, allocations: 111.3 kB / 0.9867 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.24, allocations: 127.2 kB / 0.9869 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.24, allocations: 19.94 kB / 0.9869 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.874e-05/0.24, allocations: 16 kB / 0.9869 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.2401, allocations: 55.7 kB / 0.987 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.2402, allocations: 155 kB / 0.9871 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.2406, allocations: 0.5802 MB / 0.9877 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2406, allocations: 0 / 0.9877 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2406, allocations: 4 kB / 0.9877 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2407, allocations: 3.938 kB / 0.9877 GB, free: 4.781 MB / 0.7136 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.0008375/0.2415, allocations: 0.6506 MB / 0.9883 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2415, allocations: 8.031 kB / 0.9883 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.2416, allocations: 40.47 kB / 0.9884 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.242, allocations: 399.2 kB / 0.9887 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.242, allocations: 20.94 kB / 0.9888 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.2421, allocations: 28.38 kB / 0.9888 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.2426, allocations: 325.7 kB / 0.9891 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2426, allocations: 0 / 0.9891 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.2426, allocations: 19.92 kB / 0.9891 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2426, allocations: 12 kB / 0.9891 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.2431, allocations: 230.2 kB / 0.9893 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.2444, allocations: 1.17 MB / 0.9905 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.2449, allocations: 232.7 kB / 0.9907 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2451, allocations: 104.8 kB / 0.9908 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.2451, allocations: 4 kB / 0.9908 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2451, allocations: 34.55 kB / 0.9908 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.2451, allocations: 0 / 0.9908 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.000585/0.2457, allocations: 293.2 kB / 0.9911 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.2458, allocations: 89.09 kB / 0.9912 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.2461, allocations: 333.7 kB / 0.9915 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2461, allocations: 33.7 kB / 0.9916 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.2463, allocations: 200 kB / 0.9918 GB, free: 388 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.2463, allocations: 55.25 kB / 0.9918 GB, free: 332 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.246e-05/0.2464, allocations: 41.7 kB / 0.9918 GB, free: 284 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2465, allocations: 338.8 kB / 0.9922 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.2467, allocations: 88.83 kB / 0.9923 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2469, allocations: 115.4 kB / 0.9924 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.2472, allocations: 190.5 kB / 0.9925 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2472, allocations: 0 / 0.9925 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004164/0.2477, allocations: 254.8 kB / 0.9928 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2477, allocations: 7.984 kB / 0.9928 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2477, allocations: 7.984 kB / 0.9928 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2477, allocations: 0 / 0.9928 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2479, allocations: 35.98 kB / 0.9928 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.2479, allocations: 4 kB / 0.9928 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.2481, allocations: 39.61 kB / 0.9929 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.2481, allocations: 4 kB / 0.9929 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002376/0.2483, allocations: 192.1 kB / 0.9931 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001458/0.2485, allocations: 105.6 kB / 0.9932 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002256/0.2487, allocations: 164.9 kB / 0.9933 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.2487, allocations: 0 / 0.9933 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003248/0.249, allocations: 237 kB / 0.9936 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.2491, allocations: 8 kB / 0.9936 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-06/0.2491, allocations: 0 / 0.9936 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-06/0.2491, allocations: 0 / 0.9936 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2492, allocations: 27.98 kB / 0.9936 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-06/0.2492, allocations: 4.062 kB / 0.9936 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2493, allocations: 19.84 kB / 0.9936 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2493, allocations: 7.938 kB / 0.9936 GB, free: 14.4 MB / 0.7292 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 9.923e-05/0.2494, allocations: 200.2 kB / 0.9938 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.2495, allocations: 27.62 kB / 0.9938 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.2496, allocations: 35.28 kB / 0.9939 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2496, allocations: 0 / 0.9939 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2496, allocations: 0 / 0.9939 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2496, allocations: 7.938 kB / 0.9939 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.25, allocations: 405.4 kB / 0.9943 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.25, allocations: 4 kB / 0.9943 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.2501, allocations: 27.92 kB / 0.9943 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2501, allocations: 0 / 0.9943 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2502, allocations: 4 kB / 0.9943 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2502, allocations: 4 kB / 0.9943 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2502, allocations: 3.984 kB / 0.9943 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/0.2534, allocations: 2.481 MB / 0.9967 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2535, allocations: 136.7 kB / 0.9969 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.2536, allocations: 7.938 kB / 0.9969 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2537, allocations: 11.98 kB / 0.9969 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.2538, allocations: 11.98 kB / 0.9969 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2538, allocations: 8 kB / 0.9969 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002017/0.254, allocations: 235.2 kB / 0.9971 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.254, allocations: 4.062 kB / 0.9971 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000534/0.2546, allocations: 131.6 kB / 0.9972 GB, free: 10.47 MB / 0.7292 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 0.0001084/0.2547, allocations: 107.2 kB / 0.9974 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.2552, allocations: 281.5 kB / 0.9976 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2552, allocations: 4.188 kB / 0.9976 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.2554, allocations: 95.97 kB / 0.9977 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.2559, allocations: 77.31 kB / 0.9978 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.257, allocations: 0.8601 MB / 0.9986 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2573, allocations: 0.7836 MB / 0.9994 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.2575, allocations: 30.27 kB / 0.9994 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.2576, allocations: 23.44 kB / 0.9994 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.2576, allocations: 4 kB / 0.9994 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of Templates: time 0.006891/0.2645, allocations: 3.634 MB / 1.003 GB, free: 4.535 MB / 0.7292 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)