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.001471/0.00147, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001551/0.001551, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02176/0.02176, allocations: 4.661 MB / 295.8 MB, free: 10.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 358 MB, free: 12.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2262, allocations: 50.5 MB / 408.5 MB, free: 30.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.0035/0.2297, allocations: 2.877 MB / 411.4 MB, free: 27.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2308, allocations: 0.673 MB / 412 MB, free: 27.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.231, allocations: 7.938 kB / 412 MB, free: 27.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.2311, allocations: 47.52 kB / 412.1 MB, free: 27.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.2313, allocations: 83.2 kB / 412.2 MB, free: 27.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.2316, allocations: 107.8 kB / 412.3 MB, free: 26.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.232, allocations: 406.5 kB / 412.7 MB, free: 26.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.2324, allocations: 245.3 kB / 412.9 MB, free: 26.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.2325, allocations: 147.5 kB / 413.1 MB, free: 26.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.2327, allocations: 159.4 kB / 413.2 MB, free: 26.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.2328, allocations: 44 kB / 413.3 MB, free: 26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.2328, allocations: 44 kB / 413.3 MB, free: 25.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.2329, allocations: 75.77 kB / 413.4 MB, free: 25.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.233, allocations: 183.2 kB / 413.5 MB, free: 25.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.2333, allocations: 432.4 kB / 414 MB, free: 25.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2334, allocations: 3.984 kB / 414 MB, free: 25.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2334, allocations: 0 / 414 MB, free: 25.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.2334, allocations: 0 / 414 MB, free: 25.28 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.001007/0.2344, allocations: 0.6436 MB / 414.6 MB, free: 24.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2344, allocations: 8.031 kB / 414.6 MB, free: 24.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.2345, allocations: 36.56 kB / 414.7 MB, free: 24.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2348, allocations: 276.6 kB / 414.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.2348, allocations: 24.88 kB / 415 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.2348, allocations: 28.31 kB / 415 MB, free: 24.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.2354, allocations: 343.9 kB / 415.3 MB, free: 23.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2354, allocations: 0 / 415.3 MB, free: 23.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.2354, allocations: 4 kB / 415.3 MB, free: 23.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2355, allocations: 11.94 kB / 415.3 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.236, allocations: 282 kB / 415.6 MB, free: 23.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2372, allocations: 1.033 MB / 416.6 MB, free: 22.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.2379, allocations: 301.1 kB / 416.9 MB, free: 22.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.2382, allocations: 160.8 kB / 417.1 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.2382, allocations: 4 kB / 417.1 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.2386, allocations: 195.1 kB / 417.3 MB, free: 21.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.2386, allocations: 0 / 417.3 MB, free: 21.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009002/0.2395, allocations: 419 kB / 417.7 MB, free: 21.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.2396, allocations: 55.41 kB / 417.8 MB, free: 21.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.2398, allocations: 232.9 kB / 418 MB, free: 21.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2398, allocations: 33.7 kB / 418 MB, free: 21.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.2399, allocations: 164.1 kB / 418.2 MB, free: 20.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.2399, allocations: 78.98 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.24, allocations: 53.61 kB / 418.3 MB, free: 20.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.2401, allocations: 330.8 kB / 418.6 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.2404, allocations: 127.9 kB / 418.7 MB, free: 20.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.2407, allocations: 159.3 kB / 418.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.2412, allocations: 308.5 kB / 419.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2412, allocations: 7.938 kB / 419.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006197/0.2418, allocations: 389.9 kB / 419.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.2419, allocations: 37.69 kB / 419.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2419, allocations: 0 / 419.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2419, allocations: 7.938 kB / 419.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.2422, allocations: 63.89 kB / 419.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.2422, allocations: 96 / 419.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.2424, allocations: 39.77 kB / 419.7 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.2425, allocations: 11.98 kB / 419.8 MB, free: 19.21 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.000142/0.2426, allocations: 161.8 kB / 419.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2426, allocations: 23.66 kB / 419.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006418/0.2433, allocations: 337.8 kB / 420.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2433, allocations: 4 kB / 420.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2433, allocations: 0 / 420.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2433, allocations: 0 / 420.3 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.2436, allocations: 385.3 kB / 420.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2436, allocations: 0 / 420.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.2439, allocations: 59.89 kB / 420.7 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2439, allocations: 3.938 kB / 420.7 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.2439, allocations: 7.984 kB / 420.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2439, allocations: 15.94 kB / 420.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2439, allocations: 0 / 420.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.2448, allocations: 492.6 kB / 421.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.2448, allocations: 100.9 kB / 421.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.2449, allocations: 8 kB / 421.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.245, allocations: 23.91 kB / 421.3 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.2451, allocations: 23.97 kB / 421.4 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.2451, allocations: 4 kB / 421.4 MB, free: 17.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.2452, allocations: 168.5 kB / 421.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2452, allocations: 0 / 421.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.2455, allocations: 75.75 kB / 421.6 MB, free: 17.25 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 9.252e-05/0.2456, allocations: 108 kB / 421.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006425/0.2463, allocations: 347.7 kB / 422 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2463, allocations: 0 / 422 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002781/0.2466, allocations: 155.2 kB / 422.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.2469, allocations: 34.22 kB / 422.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.248, allocations: 0.6419 MB / 422.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.2482, allocations: 0.7671 MB / 423.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.2484, allocations: 37.47 kB / 423.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.2484, allocations: 19.44 kB / 423.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2484, allocations: 0 / 423.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of Templates: time 0.005026/0.2535, allocations: 2.747 MB / 426.4 MB, free: 12.37 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 cvode -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)