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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001643/0.001643, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1454/0.1454, allocations: 4.638 MB / 294.6 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 59.91 kB / 355.9 MB, free: 3.062 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1014, allocations: 50.5 MB / 406.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003193/0.1046, allocations: 1.752 MB / 408.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009835/0.1057, allocations: 478.8 kB / 408.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.1058, allocations: 4 kB / 408.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.1059, allocations: 7.922 kB / 408.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/0.106, allocations: 23.78 kB / 408.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1063, allocations: 35.97 kB / 408.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1065, allocations: 115.6 kB / 408.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1066, allocations: 45.09 kB / 408.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.1068, allocations: 47.78 kB / 408.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1069, allocations: 63.67 kB / 408.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.1069, allocations: 8 kB / 408.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.288e-05/0.107, allocations: 4 kB / 408.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.107, allocations: 19.92 kB / 409 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.1071, allocations: 47.67 kB / 409 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1073, allocations: 99.89 kB / 409.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1073, allocations: 0 / 409.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1073, allocations: 0 / 409.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1073, allocations: 4 kB / 409.1 MB, free: 13.76 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.0008748/0.1082, allocations: 464.7 kB / 409.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1082, allocations: 8.031 kB / 409.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1083, allocations: 16.75 kB / 409.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1085, allocations: 204.6 kB / 409.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1085, allocations: 8.375 kB / 409.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1085, allocations: 12.12 kB / 409.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.109, allocations: 176.5 kB / 410 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.109, allocations: 0 / 410 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.109, allocations: 3.938 kB / 410 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.109, allocations: 4 kB / 410 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.1094, allocations: 127.8 kB / 410.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.1103, allocations: 0.7161 MB / 410.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.1109, allocations: 274 kB / 411.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.1111, allocations: 96.33 kB / 411.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1112, allocations: 0 / 411.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.1115, allocations: 171.4 kB / 411.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 4.077e-06/0.1115, allocations: 0 / 411.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007333/0.1123, allocations: 245.5 kB / 411.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.1123, allocations: 162.2 kB / 411.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1125, allocations: 166.2 kB / 411.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1125, allocations: 29.7 kB / 411.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.1126, allocations: 112 kB / 412.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1126, allocations: 27.56 kB / 412.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.1127, allocations: 29.7 kB / 412.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.1128, allocations: 322.8 kB / 412.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.113, allocations: 67.94 kB / 412.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.1132, allocations: 92.22 kB / 412.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.1136, allocations: 185.8 kB / 412.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1137, allocations: 0 / 412.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005269/0.1142, allocations: 231 kB / 413 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.1142, allocations: 37.7 kB / 413 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1142, allocations: 0 / 413 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1143, allocations: 7.938 kB / 413 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.1144, allocations: 31.91 kB / 413.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1145, allocations: 0 / 413.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1146, allocations: 31.91 kB / 413.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1147, allocations: 4 kB / 413.1 MB, free: 9.348 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.0001073/0.1148, allocations: 133.8 kB / 413.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1148, allocations: 11.91 kB / 413.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.115, allocations: 93.77 kB / 413.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.115, allocations: 4 kB / 413.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.115, allocations: 64 / 413.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.115, allocations: 8.031 kB / 413.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.1154, allocations: 434.1 kB / 413.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1155, allocations: 7.938 kB / 413.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.1156, allocations: 31.91 kB / 413.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1156, allocations: 0 / 413.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1156, allocations: 8 kB / 413.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1156, allocations: 32 / 413.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1156, allocations: 4 kB / 413.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.1162, allocations: 369.2 kB / 414.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.1162, allocations: 96.8 kB / 414.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.1163, allocations: 8 kB / 414.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.1165, allocations: 15.97 kB / 414.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.1166, allocations: 23.91 kB / 414.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1166, allocations: 4 kB / 414.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.1167, allocations: 128.1 kB / 414.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1167, allocations: 0 / 414.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.117, allocations: 24 kB / 414.5 MB, free: 7.844 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 8.515e-05/0.1171, allocations: 103.2 kB / 414.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005218/0.1176, allocations: 203.3 kB / 414.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1176, allocations: 4.062 kB / 414.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.1179, allocations: 83.86 kB / 414.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1182, allocations: 27.88 kB / 414.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.1189, allocations: 320.9 kB / 415.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1192, allocations: 0.716 MB / 415.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.679e-05/0.1192, allocations: 12.55 kB / 415.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.1193, allocations: 11.44 kB / 415.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1193, allocations: 0 / 415.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of Templates: time 0.003207/0.1225, allocations: 1.224 MB / 417.2 MB, free: 5.082 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)