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.001049/0.001049, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00103/0.00103, allocations: 188.8 kB / 16.25 MB, free: 6.625 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1239/0.1239, allocations: 4.638 MB / 294.7 MB, free: 3.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 55.91 kB / 356 MB, free: 2.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09188, allocations: 50.51 MB / 406.6 MB, free: 316 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002532/0.09444, allocations: 1.76 MB / 408.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.09512, allocations: 466.8 kB / 408.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.09519, allocations: 4 kB / 408.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.294e-05/0.09529, allocations: 11.92 kB / 408.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.09537, allocations: 11.88 kB / 408.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.09555, allocations: 47.83 kB / 408.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.09571, allocations: 123.6 kB / 409 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.09586, allocations: 49.08 kB / 409 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.09598, allocations: 55.83 kB / 409.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.09607, allocations: 55.7 kB / 409.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.0961, allocations: 8 kB / 409.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.914e-05/0.09612, allocations: 11.94 kB / 409.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.09617, allocations: 27.89 kB / 409.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.09624, allocations: 51.67 kB / 409.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.09637, allocations: 103.9 kB / 409.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09638, allocations: 3.984 kB / 409.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.09639, allocations: 4 kB / 409.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.0964, allocations: 0 / 409.3 MB, free: 13.52 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.0006934/0.0971, allocations: 464.6 kB / 409.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.09714, allocations: 8.031 kB / 409.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.09718, allocations: 16.75 kB / 409.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.09734, allocations: 200.7 kB / 410 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.09736, allocations: 8.375 kB / 410 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.09739, allocations: 12.12 kB / 410 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.09777, allocations: 168 kB / 410.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.09779, allocations: 0 / 410.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.09781, allocations: 4 kB / 410.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.09782, allocations: 4 kB / 410.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003713/0.09819, allocations: 123.8 kB / 410.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.09895, allocations: 0.7238 MB / 411 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.09942, allocations: 266.1 kB / 411.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.09965, allocations: 100.3 kB / 411.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.09968, allocations: 4 kB / 411.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.1, allocations: 167.4 kB / 411.6 MB, free: 11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.1, allocations: 0 / 411.6 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006983/0.1007, allocations: 241.4 kB / 411.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.1008, allocations: 170.1 kB / 412 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1009, allocations: 162.2 kB / 412.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1009, allocations: 29.7 kB / 412.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.101, allocations: 104 kB / 412.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.101, allocations: 35.73 kB / 412.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.1011, allocations: 33.7 kB / 412.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.1012, allocations: 322.8 kB / 412.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.1014, allocations: 59.94 kB / 412.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.1016, allocations: 96.23 kB / 412.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.102, allocations: 190.1 kB / 413 MB, free: 9.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1021, allocations: 4 kB / 413 MB, free: 9.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005061/0.1026, allocations: 230.9 kB / 413.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.1026, allocations: 33.7 kB / 413.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1026, allocations: 4 kB / 413.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1026, allocations: 3.938 kB / 413.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.1028, allocations: 36.06 kB / 413.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1028, allocations: 0 / 413.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.103, allocations: 23.83 kB / 413.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.103, allocations: 7.984 kB / 413.3 MB, free: 9.113 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 9.723e-05/0.1031, allocations: 133.8 kB / 413.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.1032, allocations: 7.906 kB / 413.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.1034, allocations: 93.84 kB / 413.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1034, allocations: 7.938 kB / 413.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1034, allocations: 3.984 kB / 413.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1034, allocations: 7.938 kB / 413.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.1037, allocations: 425.7 kB / 414 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1037, allocations: 3.938 kB / 414 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.1039, allocations: 32.03 kB / 414 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1039, allocations: 4 kB / 414 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1039, allocations: 7.984 kB / 414 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1039, allocations: 4 kB / 414 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1039, allocations: 0 / 414 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.1044, allocations: 361.1 kB / 414.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1045, allocations: 100.8 kB / 414.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1045, allocations: 4 kB / 414.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1047, allocations: 15.98 kB / 414.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.1048, allocations: 23.97 kB / 414.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1048, allocations: 4 kB / 414.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.147e-05/0.1049, allocations: 128.1 kB / 414.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1049, allocations: 3.938 kB / 414.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.1052, allocations: 20 kB / 414.7 MB, free: 7.621 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.496e-05/0.1053, allocations: 107.1 kB / 414.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.1058, allocations: 215.2 kB / 415 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1059, allocations: 0 / 415 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.1061, allocations: 87.81 kB / 415.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1065, allocations: 24.3 kB / 415.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.1071, allocations: 319.1 kB / 415.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1073, allocations: 0.7199 MB / 416.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.943e-05/0.1074, allocations: 20.53 kB / 416.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.1075, allocations: 15.38 kB / 416.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1075, allocations: 0 / 416.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of Templates: time 0.003322/0.1108, allocations: 1.295 MB / 417.5 MB, free: 4.762 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)