Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, 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.001763/0.001763, allocations: 193 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1618/0.1618, allocations: 4.626 MB / 295 MB, free: 3.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.05 kB / 356.5 MB, free: 2.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 50.5 MB / 407 MB, free: 4 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003269/0.1081, allocations: 1.693 MB / 408.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.1091, allocations: 486.7 kB / 409.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1093, allocations: 0 / 409.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.916e-05/0.1094, allocations: 19.8 kB / 409.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.1095, allocations: 23.78 kB / 409.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.1097, allocations: 43.89 kB / 409.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1099, allocations: 119.6 kB / 409.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.1101, allocations: 49.09 kB / 409.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1102, allocations: 51.83 kB / 409.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1104, allocations: 63.62 kB / 409.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.1104, allocations: 12 kB / 409.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.681e-05/0.1105, allocations: 8 kB / 409.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.1105, allocations: 27.92 kB / 409.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.1106, allocations: 47.72 kB / 409.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1108, allocations: 103.8 kB / 409.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1108, allocations: 0 / 409.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1108, allocations: 0 / 409.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1108, allocations: 0 / 409.8 MB, free: 13.26 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008557/0.1117, allocations: 464.6 kB / 410.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1117, allocations: 12.02 kB / 410.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.1118, allocations: 20.75 kB / 410.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.112, allocations: 202 kB / 410.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.112, allocations: 4.375 kB / 410.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.112, allocations: 24.05 kB / 410.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.1124, allocations: 163.8 kB / 410.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1124, allocations: 0 / 410.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.1125, allocations: 8 kB / 410.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1125, allocations: 0 / 410.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.1129, allocations: 123.8 kB / 410.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.1138, allocations: 0.7238 MB / 411.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.1143, allocations: 266 kB / 411.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.1145, allocations: 104.2 kB / 411.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1146, allocations: 3.984 kB / 411.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.1149, allocations: 167.5 kB / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.1149, allocations: 0 / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007692/0.1157, allocations: 245.3 kB / 412.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.1158, allocations: 166.2 kB / 412.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1159, allocations: 162.2 kB / 412.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.116, allocations: 33.7 kB / 412.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.116, allocations: 108.3 kB / 412.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1161, allocations: 31.55 kB / 412.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.1162, allocations: 29.72 kB / 412.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1163, allocations: 322.8 kB / 413.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.1165, allocations: 59.94 kB / 413.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.1167, allocations: 108.2 kB / 413.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.1171, allocations: 177.8 kB / 413.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1172, allocations: 0 / 413.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005537/0.1177, allocations: 227 kB / 413.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.1178, allocations: 37.7 kB / 413.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1178, allocations: 0 / 413.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1178, allocations: 16.02 kB / 413.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.118, allocations: 27.97 kB / 413.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.118, allocations: 7.938 kB / 413.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1182, allocations: 23.83 kB / 413.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1182, allocations: 8 kB / 413.8 MB, free: 8.84 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 (13): * Single equations (assignments): 12 * 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.0001021/0.1183, allocations: 121.8 kB / 413.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.1183, allocations: 11.91 kB / 413.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.1185, allocations: 101.8 kB / 414 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1185, allocations: 0 / 414 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1186, allocations: 4 kB / 414 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1186, allocations: 3.938 kB / 414 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.119, allocations: 434.1 kB / 414.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.119, allocations: 8 kB / 414.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1191, allocations: 27.97 kB / 414.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1191, allocations: 4.031 kB / 414.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1192, allocations: 8 kB / 414.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1192, allocations: 0 / 414.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1192, allocations: 4 kB / 414.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.1197, allocations: 361.1 kB / 414.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.1198, allocations: 100.8 kB / 414.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1198, allocations: 7.984 kB / 414.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.12, allocations: 19.98 kB / 415 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.1201, allocations: 23.91 kB / 415 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1201, allocations: 8 kB / 415 MB, free: 7.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.81e-05/0.1202, allocations: 120.1 kB / 415.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1202, allocations: 3.938 kB / 415.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1205, allocations: 20 kB / 415.1 MB, free: 7.348 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 (11): * Single equations (assignments): 9 * 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 0.0001046/0.1206, allocations: 107.6 kB / 415.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005219/0.1212, allocations: 211.2 kB / 415.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1212, allocations: 0 / 415.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.1215, allocations: 92.17 kB / 415.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1218, allocations: 32.03 kB / 415.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.1225, allocations: 279.1 kB / 415.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1228, allocations: 0.7195 MB / 416.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.667e-05/0.1229, allocations: 20.55 kB / 416.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.1229, allocations: 11.44 kB / 416.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1229, allocations: 0 / 416.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of Templates: time 0.003996/0.1269, allocations: 1.387 MB / 418 MB, free: 4.43 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)