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.001102/0.001102, allocations: 109.1 kB / 16.37 MB, free: 6.477 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.001039/0.001039, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.04639/0.04639, allocations: 4.646 MB / 295.8 MB, free: 10.29 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 358 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2084, allocations: 50.49 MB / 408.5 MB, free: 30.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00226/0.2107, allocations: 1.688 MB / 410.2 MB, free: 29.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006061/0.2113, allocations: 482.4 kB / 410.6 MB, free: 28.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.2114, allocations: 0 / 410.6 MB, free: 28.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.766e-05/0.2115, allocations: 15.86 kB / 410.7 MB, free: 28.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/0.2116, allocations: 19.75 kB / 410.7 MB, free: 28.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.2118, allocations: 43.94 kB / 410.7 MB, free: 28.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.212, allocations: 119.6 kB / 410.8 MB, free: 28.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.2121, allocations: 45.38 kB / 410.9 MB, free: 28.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.2122, allocations: 51.83 kB / 410.9 MB, free: 28.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.2123, allocations: 55.75 kB / 411 MB, free: 28.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2123, allocations: 8 kB / 411 MB, free: 28.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.2123, allocations: 8 kB / 411 MB, free: 28.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.2124, allocations: 23.86 kB / 411 MB, free: 28.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.2124, allocations: 47.73 kB / 411.1 MB, free: 28.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2125, allocations: 109.4 kB / 411.2 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2126, allocations: 8 kB / 411.2 MB, free: 28.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2126, allocations: 3.938 kB / 411.2 MB, free: 28.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2126, allocations: 0 / 411.2 MB, free: 28.23 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.0006217/0.2132, allocations: 456.6 kB / 411.6 MB, free: 27.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.2132, allocations: 15.89 kB / 411.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.2133, allocations: 12.75 kB / 411.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2134, allocations: 200.7 kB / 411.9 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2134, allocations: 4.375 kB / 411.9 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.2135, allocations: 20.12 kB / 411.9 MB, free: 27.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.2138, allocations: 160.2 kB / 412 MB, free: 27.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2138, allocations: 4 kB / 412 MB, free: 27.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2138, allocations: 0 / 412 MB, free: 27.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2138, allocations: 0 / 412 MB, free: 27.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.2142, allocations: 127.8 kB / 412.2 MB, free: 27.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.2148, allocations: 0.712 MB / 412.9 MB, free: 26.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.2151, allocations: 173 kB / 413.1 MB, free: 26.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2153, allocations: 80.33 kB / 413.1 MB, free: 26.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.2153, allocations: 7.938 kB / 413.1 MB, free: 26.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.2156, allocations: 159.5 kB / 413.3 MB, free: 25.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2156, allocations: 4 kB / 413.3 MB, free: 25.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006518/0.2162, allocations: 237.2 kB / 413.5 MB, free: 25.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2163, allocations: 158.7 kB / 413.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2164, allocations: 167.7 kB / 413.9 MB, free: 25.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2164, allocations: 25.7 kB / 413.9 MB, free: 25.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.2165, allocations: 108 kB / 414 MB, free: 25.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.2165, allocations: 35.48 kB / 414 MB, free: 25.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.2166, allocations: 29.7 kB / 414 MB, free: 25.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.2167, allocations: 322.8 kB / 414.4 MB, free: 24.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.2169, allocations: 63.94 kB / 414.4 MB, free: 24.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.217, allocations: 92.17 kB / 414.5 MB, free: 24.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.2174, allocations: 177.8 kB / 414.7 MB, free: 24.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2174, allocations: 0 / 414.7 MB, free: 24.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000412/0.2178, allocations: 227 kB / 414.9 MB, free: 24.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2178, allocations: 29.7 kB / 414.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2178, allocations: 4 kB / 414.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2179, allocations: 3.938 kB / 414.9 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.218, allocations: 27.97 kB / 415 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.218, allocations: 0 / 415 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2182, allocations: 35.94 kB / 415 MB, free: 24.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.2182, allocations: 4 kB / 415 MB, free: 24.02 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.447e-05/0.2183, allocations: 133.1 kB / 415.1 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.2183, allocations: 11.91 kB / 415.2 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.2185, allocations: 85.84 kB / 415.2 MB, free: 23.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2185, allocations: 7.984 kB / 415.2 MB, free: 23.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2185, allocations: 0 / 415.2 MB, free: 23.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2185, allocations: 0 / 415.2 MB, free: 23.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.2187, allocations: 334.5 kB / 415.6 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2187, allocations: 3.938 kB / 415.6 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.2188, allocations: 23.97 kB / 415.6 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2189, allocations: 4 kB / 415.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2189, allocations: 0 / 415.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2189, allocations: 4 kB / 415.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2189, allocations: 3.938 kB / 415.6 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.2193, allocations: 294.7 kB / 415.9 MB, free: 23.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.2193, allocations: 92.89 kB / 416 MB, free: 22.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.2193, allocations: 8 kB / 416 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.2195, allocations: 19.97 kB / 416 MB, free: 22.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.2196, allocations: 15.98 kB / 416 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2196, allocations: 0 / 416 MB, free: 22.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.839e-05/0.2197, allocations: 127.2 kB / 416.2 MB, free: 22.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2197, allocations: 0 / 416.2 MB, free: 22.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.2199, allocations: 27.91 kB / 416.2 MB, free: 22.72 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 6.751e-05/0.22, allocations: 103.9 kB / 416.3 MB, free: 22.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.2204, allocations: 195.2 kB / 416.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2204, allocations: 4 kB / 416.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.2206, allocations: 88.11 kB / 416.6 MB, free: 22.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.221, allocations: 21.47 kB / 416.6 MB, free: 22.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.2214, allocations: 282.8 kB / 416.9 MB, free: 21.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.2215, allocations: 0.7119 MB / 417.6 MB, free: 21.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.794e-05/0.2216, allocations: 16.69 kB / 417.6 MB, free: 21.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.2217, allocations: 15.44 kB / 417.6 MB, free: 21.21 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2217, allocations: 0 / 417.6 MB, free: 21.21 MB / 302.1 MB Notification: Performance of Templates: time 0.003382/0.2251, allocations: 1.362 MB / 419 MB, free: 19.86 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 cvode -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)