Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.conf.json 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/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) Running command: translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008304/0.008304, allocations: 170 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0181/0.0181, allocations: 4.628 MB / 20.48 MB, free: 1.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 245.5 MB, free: 12.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.0008862, allocations: 95 kB / 297.7 MB, free: 8.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 12 kB / 359.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2634, allocations: 51.47 MB / 411.2 MB, free: 50.17 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09462/0.3581, allocations: 78.79 MB / 490 MB, free: 300 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000143/0.3582, allocations: 51.97 kB / 490.1 MB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01405/0.3723, allocations: 5.83 MB / 495.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3723, allocations: 0 / 495.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.3723, allocations: 4 kB / 495.9 MB, free: 10.46 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008897/0.3732, allocations: 0.5956 MB / 496.5 MB, free: 9.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3733, allocations: 8.031 kB / 496.5 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.3734, allocations: 31.62 kB / 496.5 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.3737, allocations: 279.4 kB / 496.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.3737, allocations: 20.56 kB / 496.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.3738, allocations: 23.94 kB / 496.8 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.3744, allocations: 343.6 kB / 497.2 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3744, allocations: 0 / 497.2 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.3744, allocations: 12 kB / 497.2 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3744, allocations: 4 kB / 497.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.3751, allocations: 306 kB / 497.5 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.3765, allocations: 1.049 MB / 498.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.3772, allocations: 319.2 kB / 498.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3772, allocations: 4.188 kB / 498.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.3776, allocations: 205 kB / 499.1 MB, free: 7.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.3776, allocations: 0 / 499.1 MB, free: 7.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009815/0.3786, allocations: 444.5 kB / 499.5 MB, free: 6.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3787, allocations: 59.34 kB / 499.5 MB, free: 6.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.3789, allocations: 216 kB / 499.8 MB, free: 6.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.3789, allocations: 33.7 kB / 499.8 MB, free: 6.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3791, allocations: 168.1 kB / 500 MB, free: 6.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/0.3791, allocations: 74.98 kB / 0.4883 GB, free: 6.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.3792, allocations: 4 kB / 0.4883 GB, free: 6.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3793, allocations: 330.8 kB / 0.4886 GB, free: 5.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.3796, allocations: 140.4 kB / 0.4888 GB, free: 5.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.38, allocations: 176.3 kB / 0.4889 GB, free: 5.441 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.3803, allocations: 168 kB / 0.4891 GB, free: 5.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3803, allocations: 7.953 kB / 0.4891 GB, free: 5.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007506/0.3811, allocations: 413.9 kB / 0.4895 GB, free: 4.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.3811, allocations: 33.7 kB / 0.4895 GB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3811, allocations: 0 / 0.4895 GB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3811, allocations: 7.938 kB / 0.4895 GB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.3815, allocations: 63.95 kB / 0.4896 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3815, allocations: 15.92 kB / 0.4896 GB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.3818, allocations: 51.66 kB / 0.4897 GB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.3818, allocations: 8 kB / 0.4897 GB, free: 4.664 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.000161/0.382, allocations: 158.9 kB / 0.4898 GB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.382, allocations: 27.77 kB / 0.4898 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.3828, allocations: 358.5 kB / 0.4902 GB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.3828, allocations: 4 kB / 0.4902 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3828, allocations: 0 / 0.4902 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3828, allocations: 0 / 0.4902 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.3832, allocations: 377.4 kB / 0.4905 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3832, allocations: 4 kB / 0.4905 GB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.3835, allocations: 71.84 kB / 0.4906 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3835, allocations: 4 kB / 0.4906 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.3835, allocations: 0 / 0.4906 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3835, allocations: 0 / 0.4906 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3836, allocations: 0 / 0.4906 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009893/0.3845, allocations: 0.524 MB / 0.4911 GB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.3846, allocations: 96.84 kB / 0.4912 GB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.3847, allocations: 11.95 kB / 0.4912 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3849, allocations: 27.97 kB / 0.4913 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.385, allocations: 28.03 kB / 0.4913 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.385, allocations: 8 kB / 0.4913 GB, free: 2.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.3851, allocations: 168.5 kB / 0.4915 GB, free: 2.719 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3851, allocations: 0 / 0.4915 GB, free: 2.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.3854, allocations: 79.77 kB / 0.4915 GB, free: 2.641 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001236/0.3855, allocations: 115 kB / 0.4916 GB, free: 2.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006635/0.3862, allocations: 367.2 kB / 0.492 GB, free: 2.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3862, allocations: 4.062 kB / 0.492 GB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.3865, allocations: 155.8 kB / 0.4921 GB, free: 1.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3868, allocations: 44.34 kB / 0.4922 GB, free: 1.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3881, allocations: 0.7468 MB / 0.4929 GB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3884, allocations: 0.783 MB / 0.4937 GB, free: 380 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.3886, allocations: 29.53 kB / 0.4937 GB, free: 352 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.3887, allocations: 23.42 kB / 0.4937 GB, free: 328 kB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3887, allocations: 4 kB / 0.4937 GB, free: 324 kB / 362.7 MB Notification: Performance of Templates: time 0.005527/0.3942, allocations: 2.406 MB / 0.4961 GB, free: 13.93 MB / 378.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)