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.001073/0.001079, allocations: 105 kB / 15.98 MB, free: 6.77 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.001118/0.001118, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1555/0.1555, allocations: 4.619 MB / 295.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.89 kB / 356.7 MB, free: 2.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1081, allocations: 50.49 MB / 407.2 MB, free: 376 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002788/0.111, allocations: 1.756 MB / 408.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007441/0.1117, allocations: 478.8 kB / 409.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.1118, allocations: 0 / 409.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.1119, allocations: 7.922 kB / 409.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.112, allocations: 23.8 kB / 409.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1122, allocations: 35.95 kB / 409.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1124, allocations: 123.6 kB / 409.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1126, allocations: 49.09 kB / 409.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1127, allocations: 55.77 kB / 409.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.1128, allocations: 59.69 kB / 409.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1128, allocations: 12 kB / 409.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.271e-05/0.1129, allocations: 12 kB / 409.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.1129, allocations: 19.92 kB / 409.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.113, allocations: 59.64 kB / 409.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1131, allocations: 72.11 kB / 409.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1131, allocations: 0 / 409.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1131, allocations: 0 / 409.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1131, allocations: 0 / 409.9 MB, free: 13.61 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.0007981/0.1139, allocations: 468.6 kB / 410.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.114, allocations: 8.031 kB / 410.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.114, allocations: 16.75 kB / 410.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1142, allocations: 200.6 kB / 410.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1143, allocations: 8.375 kB / 410.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1143, allocations: 12.12 kB / 410.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.1147, allocations: 172.3 kB / 410.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1147, allocations: 3.938 kB / 410.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1147, allocations: 0 / 410.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1147, allocations: 4 kB / 410.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.1151, allocations: 123.8 kB / 410.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.116, allocations: 0.72 MB / 411.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.1165, allocations: 266 kB / 411.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.1167, allocations: 96.33 kB / 412 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1167, allocations: 0 / 412 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003185/0.1171, allocations: 163.4 kB / 412.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1171, allocations: 4 kB / 412.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007194/0.1178, allocations: 245.2 kB / 412.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/0.1179, allocations: 162.2 kB / 412.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.118, allocations: 174.5 kB / 412.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1181, allocations: 33.64 kB / 412.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.1182, allocations: 108 kB / 412.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1182, allocations: 31.55 kB / 412.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.1183, allocations: 29.7 kB / 412.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1184, allocations: 322.8 kB / 413.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.1186, allocations: 63.94 kB / 413.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.1188, allocations: 96.22 kB / 413.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.1192, allocations: 190.2 kB / 413.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1192, allocations: 0 / 413.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005071/0.1198, allocations: 227 kB / 413.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.1198, allocations: 41.7 kB / 413.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1198, allocations: 0 / 413.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1199, allocations: 3.938 kB / 413.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.12, allocations: 35.91 kB / 413.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1201, allocations: 0 / 413.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.1202, allocations: 27.81 kB / 413.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1203, allocations: 4 kB / 413.9 MB, free: 9.199 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.000116/0.1204, allocations: 133.8 kB / 414 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1204, allocations: 7.906 kB / 414 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1206, allocations: 97.77 kB / 414.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1206, allocations: 4 kB / 414.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1206, allocations: 0 / 414.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1206, allocations: 4 kB / 414.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.121, allocations: 433.7 kB / 414.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1211, allocations: 7.938 kB / 414.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.1212, allocations: 23.97 kB / 414.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1212, allocations: 4 kB / 414.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1212, allocations: 4 kB / 414.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1212, allocations: 7.938 kB / 414.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1212, allocations: 0 / 414.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.1218, allocations: 369.1 kB / 415 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1218, allocations: 96.8 kB / 415.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1219, allocations: 12 kB / 415.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1221, allocations: 15.97 kB / 415.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.1222, allocations: 19.92 kB / 415.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1222, allocations: 7.984 kB / 415.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1223, allocations: 124.1 kB / 415.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1223, allocations: 0 / 415.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1226, allocations: 20 kB / 415.3 MB, free: 7.707 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.0001033/0.1227, allocations: 111.2 kB / 415.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.1232, allocations: 211.1 kB / 415.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1232, allocations: 0 / 415.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.1235, allocations: 96.05 kB / 415.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1239, allocations: 21.95 kB / 415.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.1245, allocations: 337.3 kB / 416 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1248, allocations: 0.7156 MB / 416.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.1249, allocations: 19.44 kB / 416.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1249, allocations: 3.938 kB / 416.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of Templates: time 0.00324/0.1281, allocations: 1.607 MB / 418.4 MB, free: 4.523 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)