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.001264/0.001264, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1815/0.1815, allocations: 4.62 MB / 295 MB, free: 3.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 356.5 MB, free: 2.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1043, allocations: 50.51 MB / 407 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.003377/0.1077, allocations: 1.678 MB / 408.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1088, allocations: 474.8 kB / 409.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1089, allocations: 0 / 409.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.1091, allocations: 23.73 kB / 409.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.1092, allocations: 19.8 kB / 409.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1095, allocations: 43.89 kB / 409.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1097, allocations: 115.6 kB / 409.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.1099, allocations: 53.39 kB / 409.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1101, allocations: 47.84 kB / 409.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1102, allocations: 55.7 kB / 409.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.1103, allocations: 8 kB / 409.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.579e-05/0.1103, allocations: 8 kB / 409.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.1103, allocations: 31.91 kB / 409.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.1104, allocations: 51.66 kB / 409.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1106, allocations: 99.91 kB / 409.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1106, allocations: 0 / 409.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1106, allocations: 0 / 409.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1106, allocations: 0 / 409.7 MB, free: 13.28 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.0008557/0.1115, allocations: 461.7 kB / 410.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1115, allocations: 8.031 kB / 410.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.1116, allocations: 20.75 kB / 410.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1118, allocations: 205.9 kB / 410.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1118, allocations: 4.375 kB / 410.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1119, allocations: 12.12 kB / 410.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.1122, allocations: 161.8 kB / 410.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1123, allocations: 7.984 kB / 410.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1123, allocations: 0 / 410.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1123, allocations: 7.938 kB / 410.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.1127, allocations: 123.8 kB / 410.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.1136, allocations: 0.7043 MB / 411.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.114, allocations: 169 kB / 411.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.1142, allocations: 96.33 kB / 411.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1143, allocations: 3.938 kB / 411.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.1146, allocations: 159.5 kB / 411.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.1147, allocations: 0 / 411.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008205/0.1155, allocations: 233.5 kB / 412.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.1156, allocations: 166.2 kB / 412.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1157, allocations: 166.2 kB / 412.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1158, allocations: 29.7 kB / 412.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.1158, allocations: 108 kB / 412.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1159, allocations: 31.72 kB / 412.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.116, allocations: 29.7 kB / 412.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1161, allocations: 326.8 kB / 412.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.1163, allocations: 59.94 kB / 413 MB, free: 9.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.1165, allocations: 92.23 kB / 413.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.1169, allocations: 173.8 kB / 413.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1169, allocations: 0 / 413.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005381/0.1175, allocations: 215 kB / 413.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.1175, allocations: 33.7 kB / 413.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1176, allocations: 0 / 413.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1176, allocations: 12.06 kB / 413.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1178, allocations: 27.97 kB / 413.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1178, allocations: 4 kB / 413.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.118, allocations: 23.88 kB / 413.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.118, allocations: 4 kB / 413.5 MB, free: 9.066 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 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.1181, allocations: 129.8 kB / 413.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.1181, allocations: 15.84 kB / 413.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.1184, allocations: 93.83 kB / 413.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1184, allocations: 0 / 413.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1184, allocations: 8.062 kB / 413.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1184, allocations: 0 / 413.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.1187, allocations: 330.3 kB / 414.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1187, allocations: 7.938 kB / 414.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1189, allocations: 24.03 kB / 414.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1189, allocations: 4 kB / 414.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1189, allocations: 8 kB / 414.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1189, allocations: 0 / 414.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1189, allocations: 7.938 kB / 414.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.1194, allocations: 290.6 kB / 414.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.1195, allocations: 88.95 kB / 414.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1195, allocations: 4 kB / 414.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1197, allocations: 15.97 kB / 414.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.1198, allocations: 19.98 kB / 414.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.1198, allocations: 8 kB / 414.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.1199, allocations: 124.1 kB / 414.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1199, allocations: 0 / 414.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1202, allocations: 23.91 kB / 414.7 MB, free: 7.758 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.849e-05/0.1203, allocations: 107.9 kB / 414.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.1208, allocations: 203.1 kB / 415 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1208, allocations: 0 / 415 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.1211, allocations: 79.88 kB / 415.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1214, allocations: 23.08 kB / 415.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.1221, allocations: 282.6 kB / 415.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1224, allocations: 0.7117 MB / 416.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.1225, allocations: 24.41 kB / 416.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.1225, allocations: 15.42 kB / 416.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1225, allocations: 0 / 416.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of Templates: time 0.004223/0.1267, allocations: 1.351 MB / 417.5 MB, free: 4.902 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile (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)