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.001474/0.001474, allocations: 107 kB / 16.36 MB, free: 6.336 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.001699/0.001699, allocations: 193.8 kB / 17.29 MB, free: 5.883 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.05435/0.05435, allocations: 4.642 MB / 295.8 MB, free: 10.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 71.89 kB / 358 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2067, allocations: 50.49 MB / 408.5 MB, free: 30.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002411/0.2091, allocations: 1.685 MB / 410.2 MB, free: 29.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006312/0.2098, allocations: 474.8 kB / 410.6 MB, free: 28.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.2099, allocations: 7.188 kB / 410.6 MB, free: 28.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.341e-05/0.21, allocations: 15.86 kB / 410.7 MB, free: 28.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.21, allocations: 19.69 kB / 410.7 MB, free: 28.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.2102, allocations: 47.88 kB / 410.7 MB, free: 28.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2104, allocations: 119.6 kB / 410.8 MB, free: 28.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2105, allocations: 45.05 kB / 410.9 MB, free: 28.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2106, allocations: 55.83 kB / 410.9 MB, free: 28.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.2107, allocations: 51.77 kB / 411 MB, free: 28.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.2107, allocations: 8 kB / 411 MB, free: 28.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.2108, allocations: 8 kB / 411 MB, free: 28.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.2108, allocations: 27.84 kB / 411 MB, free: 28.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.2109, allocations: 51.67 kB / 411.1 MB, free: 28.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.211, allocations: 101.5 kB / 411.2 MB, free: 28.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.211, allocations: 0 / 411.2 MB, free: 28.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.211, allocations: 0 / 411.2 MB, free: 28.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.211, allocations: 4 kB / 411.2 MB, free: 28.06 MB / 302.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.0006411/0.2117, allocations: 464.5 kB / 411.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.2117, allocations: 8.031 kB / 411.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.2118, allocations: 24.69 kB / 411.7 MB, free: 27.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.2119, allocations: 195.1 kB / 411.9 MB, free: 27.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2119, allocations: 8.312 kB / 411.9 MB, free: 27.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.212, allocations: 16.11 kB / 411.9 MB, free: 27.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.2123, allocations: 164.4 kB / 412 MB, free: 27.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2123, allocations: 0 / 412 MB, free: 27.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.2123, allocations: 0 / 412 MB, free: 27.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.2123, allocations: 4 kB / 412 MB, free: 27.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.2127, allocations: 127.8 kB / 412.2 MB, free: 26.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.2134, allocations: 0.7121 MB / 412.9 MB, free: 26.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.2137, allocations: 169 kB / 413 MB, free: 25.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2139, allocations: 84.28 kB / 413.1 MB, free: 25.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.2139, allocations: 3.984 kB / 413.1 MB, free: 25.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.2142, allocations: 159.5 kB / 413.3 MB, free: 25.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.2142, allocations: 0 / 413.3 MB, free: 25.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006235/0.2148, allocations: 233.2 kB / 413.5 MB, free: 25.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.2149, allocations: 162.2 kB / 413.7 MB, free: 25.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.215, allocations: 168.2 kB / 413.8 MB, free: 25.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.215, allocations: 33.7 kB / 413.9 MB, free: 25.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.2151, allocations: 104 kB / 414 MB, free: 24.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2151, allocations: 31.55 kB / 414 MB, free: 24.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.2151, allocations: 25.72 kB / 414 MB, free: 24.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.2152, allocations: 322.8 kB / 414.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.2154, allocations: 59.94 kB / 414.4 MB, free: 24.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2156, allocations: 100.2 kB / 414.5 MB, free: 24.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.2159, allocations: 173.8 kB / 414.7 MB, free: 24.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2159, allocations: 0 / 414.7 MB, free: 24.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004324/0.2163, allocations: 223.1 kB / 414.9 MB, free: 23.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2164, allocations: 41.62 kB / 414.9 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2164, allocations: 0 / 414.9 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2164, allocations: 7.938 kB / 414.9 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.2166, allocations: 23.97 kB / 415 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2166, allocations: 4 kB / 415 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.2167, allocations: 27.83 kB / 415 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.2168, allocations: 4 kB / 415 MB, free: 23.85 MB / 302.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 7.827e-05/0.2169, allocations: 132.9 kB / 415.1 MB, free: 23.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.2169, allocations: 15.91 kB / 415.1 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.2171, allocations: 89.83 kB / 415.2 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2171, allocations: 0 / 415.2 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2171, allocations: 4 kB / 415.2 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2171, allocations: 192 / 415.2 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2173, allocations: 326.5 kB / 415.6 MB, free: 23.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2173, allocations: 11.92 kB / 415.6 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.2174, allocations: 23.97 kB / 415.6 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2174, allocations: 0 / 415.6 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2175, allocations: 7.984 kB / 415.6 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2175, allocations: 3.938 kB / 415.6 MB, free: 23.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2175, allocations: 4 kB / 415.6 MB, free: 23.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.2179, allocations: 286.7 kB / 415.9 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.2179, allocations: 96.88 kB / 416 MB, free: 22.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2179, allocations: 12 kB / 416 MB, free: 22.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.2181, allocations: 11.98 kB / 416 MB, free: 22.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.2182, allocations: 19.97 kB / 416 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2182, allocations: 4 kB / 416 MB, free: 22.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.024e-05/0.2183, allocations: 119.2 kB / 416.1 MB, free: 22.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2183, allocations: 0 / 416.1 MB, free: 22.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.2185, allocations: 27.91 kB / 416.2 MB, free: 22.55 MB / 302.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 7.192e-05/0.2186, allocations: 107.9 kB / 416.3 MB, free: 22.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004301/0.2191, allocations: 195.2 kB / 416.5 MB, free: 22.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2191, allocations: 0 / 416.5 MB, free: 22.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.2193, allocations: 92.17 kB / 416.6 MB, free: 22.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2196, allocations: 15.94 kB / 416.6 MB, free: 22.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.2201, allocations: 286.4 kB / 416.8 MB, free: 21.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.2203, allocations: 0.7121 MB / 417.6 MB, free: 21.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.2203, allocations: 16.36 kB / 417.6 MB, free: 21.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.2204, allocations: 19.44 kB / 417.6 MB, free: 21.04 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2204, allocations: 0 / 417.6 MB, free: 21.04 MB / 302.1 MB Notification: Performance of Templates: time 0.00345/0.2238, allocations: 1.355 MB / 418.9 MB, free: 19.69 MB / 302.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 -s gbode -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)