Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001211/0.001211, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1819/0.1819, allocations: 4.632 MB / 295.6 MB, free: 4.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 8 kB / 357.6 MB, free: 2.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 51.5 MB / 409.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.001986/0.1039, allocations: 1.348 MB / 410.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007712/0.1047, allocations: 443.3 kB / 410.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1048, allocations: 0 / 410.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.1049, allocations: 11.86 kB / 410.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.105, allocations: 27.95 kB / 410.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1053, allocations: 31.95 kB / 410.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1054, allocations: 67.84 kB / 411 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1056, allocations: 37.41 kB / 411 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1058, allocations: 51.66 kB / 411.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1059, allocations: 47.81 kB / 411.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.106, allocations: 4 kB / 411.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.134e-05/0.106, allocations: 4 kB / 411.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.106, allocations: 15.92 kB / 411.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.1061, allocations: 41.64 kB / 411.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1062, allocations: 72.09 kB / 411.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1062, allocations: 4 kB / 411.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1063, allocations: 0 / 411.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1063, allocations: 0 / 411.3 MB, free: 12.8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000929/0.1072, allocations: 448.6 kB / 411.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1072, allocations: 16.03 kB / 411.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.1073, allocations: 11.81 kB / 411.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1076, allocations: 199.3 kB / 411.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1076, allocations: 8 kB / 411.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1077, allocations: 8 kB / 412 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.1081, allocations: 176.3 kB / 412.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1081, allocations: 0 / 412.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.1081, allocations: 4 kB / 412.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1082, allocations: 4 kB / 412.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.1086, allocations: 147.8 kB / 412.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1097, allocations: 0.716 MB / 413 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.1101, allocations: 196.9 kB / 413.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1101, allocations: 0 / 413.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.1105, allocations: 171.6 kB / 413.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1105, allocations: 0 / 413.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007916/0.1113, allocations: 269.8 kB / 413.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/0.1114, allocations: 166.1 kB / 413.8 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1116, allocations: 166.2 kB / 413.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1116, allocations: 33.7 kB / 414 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.1117, allocations: 111.9 kB / 414.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1118, allocations: 27.64 kB / 414.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.1118, allocations: 0 / 414.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1119, allocations: 326.9 kB / 414.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.1121, allocations: 71.94 kB / 414.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.1123, allocations: 108.2 kB / 414.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.1126, allocations: 105.6 kB / 414.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1126, allocations: 0 / 414.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005794/0.1132, allocations: 235.1 kB / 414.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.1132, allocations: 37.66 kB / 415 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1132, allocations: 4.125 kB / 415 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1133, allocations: 4 kB / 415 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.1135, allocations: 39.91 kB / 415 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1135, allocations: 0 / 415 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.1136, allocations: 23.89 kB / 415 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.1137, allocations: 11.98 kB / 415.1 MB, free: 8.656 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001259/0.1138, allocations: 125.8 kB / 415.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.1138, allocations: 11.89 kB / 415.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.1141, allocations: 93.98 kB / 415.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1141, allocations: 4 kB / 415.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1141, allocations: 3.984 kB / 415.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1141, allocations: 4.016 kB / 415.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.1144, allocations: 334.4 kB / 415.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1144, allocations: 0 / 415.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.1146, allocations: 35.91 kB / 415.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1146, allocations: 3.953 kB / 415.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1146, allocations: 8 kB / 415.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1146, allocations: 7.969 kB / 415.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1146, allocations: 4 kB / 415.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.1152, allocations: 353.5 kB / 416 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.1152, allocations: 92.92 kB / 416.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1153, allocations: 4 kB / 416.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1154, allocations: 23.97 kB / 416.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.1155, allocations: 27.88 kB / 416.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1155, allocations: 7.984 kB / 416.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.83e-05/0.1156, allocations: 119.2 kB / 416.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1156, allocations: 0 / 416.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1159, allocations: 20 kB / 416.3 MB, free: 7.242 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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 9.98e-05/0.116, allocations: 95.25 kB / 416.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.1166, allocations: 219.5 kB / 416.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1166, allocations: 8 kB / 416.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.1169, allocations: 91.88 kB / 416.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.1171, allocations: 16.23 kB / 416.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.1178, allocations: 308.5 kB / 417 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1181, allocations: 0.7121 MB / 417.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.692e-05/0.1182, allocations: 16.42 kB / 417.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.1182, allocations: 19.42 kB / 417.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1183, allocations: 0 / 417.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Templates: time 0.003683/0.1219, allocations: 1.133 MB / 418.9 MB, free: 4.559 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile Environment - environmentSimulation: (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) Environment - environmentSimulation: