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.001274/0.001278, allocations: 105.2 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.001338/0.001338, allocations: 190.5 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.27/1.27, 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.002036/0.002036, allocations: 295.3 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8944/0.8944, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 95.89 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1606, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003607/0.1642, allocations: 2.598 MB / 0.6841 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1657, allocations: 0.9079 MB / 0.685 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.1659, allocations: 8 kB / 0.685 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.1661, allocations: 63.33 kB / 0.6851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1663, allocations: 67.39 kB / 0.6852 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.1667, allocations: 238.8 kB / 0.6854 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.1671, allocations: 459.6 kB / 0.6858 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.1674, allocations: 224.9 kB / 0.686 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1676, allocations: 143.5 kB / 0.6862 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1677, allocations: 151.2 kB / 0.6863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.1678, allocations: 52 kB / 0.6864 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.493e-05/0.1678, allocations: 51.94 kB / 0.6864 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.1679, allocations: 91.66 kB / 0.6865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.168, allocations: 191 kB / 0.6867 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.1685, allocations: 0.6113 MB / 0.6873 GB, free: 1.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1685, allocations: 8 kB / 0.6873 GB, free: 1.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1685, allocations: 0 / 0.6873 GB, free: 1.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1686, allocations: 0 / 0.6873 GB, free: 1.602 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.0008279/0.1694, allocations: 0.6429 MB / 0.6879 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1694, allocations: 12.03 kB / 0.6879 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.1695, allocations: 40.47 kB / 0.688 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.17, allocations: 391.2 kB / 0.6883 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.17, allocations: 24.94 kB / 0.6884 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.1701, allocations: 32.3 kB / 0.6884 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.1706, allocations: 329.7 kB / 0.6887 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1706, allocations: 0 / 0.6887 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.1706, allocations: 12 kB / 0.6887 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1706, allocations: 8 kB / 0.6887 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.235/0.4056, allocations: 228.9 kB / 0.6889 GB, free: 18.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.4072, allocations: 1.147 MB / 0.6901 GB, free: 17.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.4077, allocations: 232.2 kB / 0.6903 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.4079, allocations: 101.6 kB / 0.6904 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.4079, allocations: 2.25 kB / 0.6904 GB, free: 17.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.408, allocations: 33.33 kB / 0.6904 GB, free: 17.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.408, allocations: 2.219 kB / 0.6904 GB, free: 17.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006369/0.4086, allocations: 299.2 kB / 0.6907 GB, free: 17.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4087, allocations: 80.31 kB / 0.6908 GB, free: 17.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.409, allocations: 330 kB / 0.6911 GB, free: 17.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.409, allocations: 25.7 kB / 0.6911 GB, free: 17.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.4091, allocations: 199.8 kB / 0.6913 GB, free: 17.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.4092, allocations: 53.73 kB / 0.6914 GB, free: 16.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.4093, allocations: 45.55 kB / 0.6914 GB, free: 16.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.4093, allocations: 343 kB / 0.6917 GB, free: 16.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.4095, allocations: 91.83 kB / 0.6918 GB, free: 16.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.4097, allocations: 120.2 kB / 0.6919 GB, free: 16.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.41, allocations: 192.7 kB / 0.6921 GB, free: 16.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.41, allocations: 5.031 kB / 0.6921 GB, free: 16.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004102/0.4104, allocations: 253.8 kB / 0.6924 GB, free: 16.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4104, allocations: 7.938 kB / 0.6924 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4105, allocations: 1.625 kB / 0.6924 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4105, allocations: 1.562 kB / 0.6924 GB, free: 16.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4107, allocations: 33.8 kB / 0.6924 GB, free: 16.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4107, allocations: 3.312 kB / 0.6924 GB, free: 16.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.4108, allocations: 25.59 kB / 0.6924 GB, free: 16.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.4108, allocations: 6.438 kB / 0.6924 GB, free: 16.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001944/0.411, allocations: 200.5 kB / 0.6926 GB, free: 16.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001361/0.4112, allocations: 102.5 kB / 0.6927 GB, free: 16.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002329/0.4114, allocations: 165.5 kB / 0.6929 GB, free: 15.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.4114, allocations: 0.5469 kB / 0.6929 GB, free: 15.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003321/0.4117, allocations: 230.6 kB / 0.6931 GB, free: 15.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.4118, allocations: 6.016 kB / 0.6931 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.4118, allocations: 3.094 kB / 0.6931 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/0.4118, allocations: 1.656 kB / 0.6931 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4119, allocations: 25.23 kB / 0.6931 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4119, allocations: 2.516 kB / 0.6932 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.412, allocations: 24.08 kB / 0.6932 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.412, allocations: 3.812 kB / 0.6932 GB, free: 15.83 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 7.363e-05/0.4121, allocations: 191.1 kB / 0.6934 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.4122, allocations: 33.44 kB / 0.6934 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.4123, allocations: 39.53 kB / 0.6934 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4123, allocations: 7.484 kB / 0.6934 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4123, allocations: 0.8438 kB / 0.6934 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4123, allocations: 1.172 kB / 0.6934 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.4127, allocations: 407.7 kB / 0.6938 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4127, allocations: 0.9375 kB / 0.6938 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.4128, allocations: 32.97 kB / 0.6939 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4129, allocations: 4.406 kB / 0.6939 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.4129, allocations: 1.562 kB / 0.6939 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4129, allocations: 1.328 kB / 0.6939 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4129, allocations: 1.094 kB / 0.6939 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.4135, allocations: 438.3 kB / 0.6943 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.4136, allocations: 129.4 kB / 0.6944 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.4136, allocations: 5.609 kB / 0.6944 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4137, allocations: 13.73 kB / 0.6944 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.4138, allocations: 7.656 kB / 0.6944 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4138, allocations: 3.406 kB / 0.6944 GB, free: 14.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.414, allocations: 239.4 kB / 0.6947 GB, free: 14.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.414, allocations: 1.375 kB / 0.6947 GB, free: 14.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.4144, allocations: 92.3 kB / 0.6948 GB, free: 14.74 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.053e-05/0.4145, allocations: 105.3 kB / 0.6949 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.415, allocations: 289 kB / 0.6951 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.415, allocations: 1.844 kB / 0.6951 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.4152, allocations: 98.89 kB / 0.6952 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.4157, allocations: 80 kB / 0.6953 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000952/0.4167, allocations: 0.5507 MB / 0.6958 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.417, allocations: 0.775 MB / 0.6966 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.4171, allocations: 31.12 kB / 0.6966 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.4172, allocations: 24.69 kB / 0.6967 GB, free: 13.43 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4172, allocations: 0 / 0.6967 GB, free: 13.43 MB / 494.1 MB Notification: Performance of Templates: time 0.007143/0.4243, allocations: 3.151 MB / 0.6997 GB, free: 13.24 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)