Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 103.5 kB / 16.35 MB, free: 5.824 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.001612/0.001612, allocations: 191.7 kB / 17.29 MB, free: 5.48 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02122/0.02122, allocations: 4.651 MB / 295.8 MB, free: 10.22 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 358 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1936, allocations: 50.51 MB / 408.5 MB, free: 30.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.00304/0.1967, allocations: 2.867 MB / 411.4 MB, free: 27.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.1975, allocations: 0.6784 MB / 412 MB, free: 27.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1976, allocations: 4 kB / 412 MB, free: 27.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.1978, allocations: 43.52 kB / 412.1 MB, free: 27.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1979, allocations: 91.2 kB / 412.2 MB, free: 27.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1982, allocations: 107.8 kB / 412.3 MB, free: 26.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.1985, allocations: 406.5 kB / 412.7 MB, free: 26.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.1988, allocations: 245.7 kB / 412.9 MB, free: 26.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1989, allocations: 151.5 kB / 413.1 MB, free: 26.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1991, allocations: 155.4 kB / 413.2 MB, free: 25.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.1991, allocations: 44 kB / 413.3 MB, free: 25.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.234e-05/0.1992, allocations: 44 kB / 413.3 MB, free: 25.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.1992, allocations: 75.77 kB / 413.4 MB, free: 25.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1994, allocations: 179.2 kB / 413.5 MB, free: 25.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.1997, allocations: 432.4 kB / 414 MB, free: 25.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1997, allocations: 3.938 kB / 414 MB, free: 25.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1997, allocations: 4 kB / 414 MB, free: 25.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1997, allocations: 0 / 414 MB, free: 25.22 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000946/0.2006, allocations: 0.6415 MB / 414.6 MB, free: 24.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.2007, allocations: 8.031 kB / 414.6 MB, free: 24.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.2007, allocations: 36.56 kB / 414.7 MB, free: 24.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.201, allocations: 280.6 kB / 414.9 MB, free: 24.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.201, allocations: 24.81 kB / 415 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.414e-05/0.2011, allocations: 24.38 kB / 415 MB, free: 24.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.2016, allocations: 335.9 kB / 415.3 MB, free: 23.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2016, allocations: 0 / 415.3 MB, free: 23.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.2016, allocations: 12 kB / 415.3 MB, free: 23.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2016, allocations: 8 kB / 415.3 MB, free: 23.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.2022, allocations: 278 kB / 415.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.2033, allocations: 1.029 MB / 416.6 MB, free: 22.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.2039, allocations: 302.6 kB / 416.9 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.2042, allocations: 164.8 kB / 417.1 MB, free: 21.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.2043, allocations: 0 / 417.1 MB, free: 21.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.2046, allocations: 200.2 kB / 417.3 MB, free: 21.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.2046, allocations: 0 / 417.3 MB, free: 21.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008057/0.2054, allocations: 414.8 kB / 417.7 MB, free: 21.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2054, allocations: 59.41 kB / 417.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2056, allocations: 232.9 kB / 418 MB, free: 21.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2056, allocations: 33.7 kB / 418 MB, free: 20.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.2057, allocations: 164.1 kB / 418.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.2058, allocations: 75 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.2058, allocations: 49.61 kB / 418.3 MB, free: 20.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.2059, allocations: 334.8 kB / 418.6 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.2062, allocations: 131.9 kB / 418.7 MB, free: 20.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.2064, allocations: 159.3 kB / 418.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.2069, allocations: 316.5 kB / 419.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2069, allocations: 3.938 kB / 419.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006179/0.2075, allocations: 389.9 kB / 419.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.2076, allocations: 33.7 kB / 419.6 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2076, allocations: 7.938 kB / 419.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2076, allocations: 0 / 419.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.2079, allocations: 63.89 kB / 419.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2079, allocations: 7.984 kB / 419.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2081, allocations: 31.77 kB / 419.7 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.2082, allocations: 15.94 kB / 419.8 MB, free: 19.15 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.0001167/0.2083, allocations: 162.8 kB / 419.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.2083, allocations: 31.64 kB / 419.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.2089, allocations: 326 kB / 420.3 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.209, allocations: 4 kB / 420.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.209, allocations: 0 / 420.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.209, allocations: 4 kB / 420.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.2092, allocations: 385.3 kB / 420.6 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2092, allocations: 0 / 420.6 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.2095, allocations: 59.89 kB / 420.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2095, allocations: 3.938 kB / 420.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.2096, allocations: 4 kB / 420.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2096, allocations: 4 kB / 420.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2096, allocations: 0 / 420.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.2104, allocations: 0.4927 MB / 421.2 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2104, allocations: 92.89 kB / 421.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.2105, allocations: 8 kB / 421.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2106, allocations: 27.97 kB / 421.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.2107, allocations: 23.97 kB / 421.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.2107, allocations: 4 kB / 421.4 MB, free: 17.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.2108, allocations: 168.5 kB / 421.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2108, allocations: 0 / 421.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.2111, allocations: 75.75 kB / 421.6 MB, free: 17.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.161e-05/0.2112, allocations: 104 kB / 421.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005909/0.2118, allocations: 358.7 kB / 422.1 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2118, allocations: 0 / 422.1 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.2121, allocations: 143.9 kB / 422.2 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.2124, allocations: 52.34 kB / 422.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.2133, allocations: 0.6302 MB / 422.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.2135, allocations: 0.7749 MB / 423.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.2136, allocations: 37.52 kB / 423.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.2137, allocations: 23.44 kB / 423.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2137, allocations: 0 / 423.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of Templates: time 0.004805/0.2185, allocations: 2.74 MB / 426.4 MB, free: 12.32 MB / 302.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)