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.0009988/0.0009988, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001037/0.001038, allocations: 195.2 kB / 16.14 MB, free: 6.703 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1549/0.1549, allocations: 4.635 MB / 294.6 MB, free: 3.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 55.91 kB / 355.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.0944, allocations: 50.5 MB / 406.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.0041/0.09855, allocations: 3.017 MB / 409.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.0997, allocations: 0.6778 MB / 410.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.09986, allocations: 4 kB / 410.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.1, allocations: 31.7 kB / 410.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1002, allocations: 75.39 kB / 410.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.1005, allocations: 91.94 kB / 410.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.1009, allocations: 370.6 kB / 410.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.1013, allocations: 217.2 kB / 410.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.1015, allocations: 131.5 kB / 411 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1017, allocations: 147.4 kB / 411.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.1018, allocations: 27.94 kB / 411.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.564e-05/0.1019, allocations: 24 kB / 411.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.487e-05/0.102, allocations: 55.77 kB / 411.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.1022, allocations: 151.3 kB / 411.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.1025, allocations: 415 kB / 411.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1025, allocations: 0 / 411.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1025, allocations: 0 / 411.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1025, allocations: 0 / 411.8 MB, free: 11.11 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001143/0.1037, allocations: 0.6455 MB / 412.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1037, allocations: 8.031 kB / 412.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.1038, allocations: 32.56 kB / 412.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.1041, allocations: 280.6 kB / 412.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1041, allocations: 16.94 kB / 412.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.1042, allocations: 32.31 kB / 412.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.1048, allocations: 335.9 kB / 413.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1048, allocations: 0 / 413.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.1049, allocations: 8 kB / 413.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1049, allocations: 8 kB / 413.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/0.1055, allocations: 286 kB / 413.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.1069, allocations: 1.041 MB / 414.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.1076, allocations: 306.5 kB / 414.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.108, allocations: 160.8 kB / 414.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.108, allocations: 4 kB / 414.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.1084, allocations: 193.8 kB / 415.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.043e-06/0.1084, allocations: 0 / 415.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009479/0.1094, allocations: 421.4 kB / 415.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1094, allocations: 55.39 kB / 415.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.1097, allocations: 233 kB / 415.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1097, allocations: 29.7 kB / 415.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1098, allocations: 168.1 kB / 416 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.1099, allocations: 78.92 kB / 416.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.983e-05/0.11, allocations: 53.61 kB / 416.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1101, allocations: 334.8 kB / 416.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.1104, allocations: 135.8 kB / 416.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.1107, allocations: 155.3 kB / 416.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.1113, allocations: 309.9 kB / 417 MB, free: 5.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1113, allocations: 0 / 417 MB, free: 5.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007125/0.112, allocations: 382 kB / 417.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.1121, allocations: 39.73 kB / 417.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1121, allocations: 0 / 417.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1121, allocations: 7.984 kB / 417.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.1124, allocations: 59.89 kB / 417.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1125, allocations: 7.984 kB / 417.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.1127, allocations: 51.8 kB / 417.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.1127, allocations: 8 kB / 417.6 MB, free: 5.023 MB / 350.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.0001577/0.1129, allocations: 161.8 kB / 417.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.113, allocations: 23.66 kB / 417.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006829/0.1136, allocations: 332.7 kB / 418.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1137, allocations: 4 kB / 418.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1137, allocations: 0 / 418.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1137, allocations: 0 / 418.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.114, allocations: 385.3 kB / 418.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.114, allocations: 7.875 kB / 418.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.1144, allocations: 55.89 kB / 418.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.1144, allocations: 7.938 kB / 418.5 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.1144, allocations: 11.98 kB / 418.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1144, allocations: 0 / 418.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1144, allocations: 0 / 418.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000961/0.1154, allocations: 0.4923 MB / 419 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.1154, allocations: 104.7 kB / 419.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.1155, allocations: 11.98 kB / 419.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1157, allocations: 19.98 kB / 419.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.1158, allocations: 23.95 kB / 419.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1158, allocations: 8 kB / 419.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.116, allocations: 172.5 kB / 419.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.116, allocations: 4.062 kB / 419.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1162, allocations: 71.75 kB / 419.4 MB, free: 3.055 MB / 350.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 0.000103/0.1164, allocations: 99.25 kB / 419.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.117, allocations: 358.2 kB / 419.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.117, allocations: 8.188 kB / 419.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.1173, allocations: 139.9 kB / 420 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.1177, allocations: 32.42 kB / 420.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1188, allocations: 0.7258 MB / 420.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1191, allocations: 0.7791 MB / 421.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.1193, allocations: 29.53 kB / 421.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.1193, allocations: 23.42 kB / 421.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1193, allocations: 0 / 421.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Templates: time 0.165/0.2843, allocations: 2.517 MB / 424.1 MB, free: 47.8 MB / 350.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 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)