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.0009878/0.0009878, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009926/0.0009927, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.293/1.293, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1361/0.1361, allocations: 4.634 MB / 294.7 MB, free: 3.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 55.91 kB / 356.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09729, allocations: 50.5 MB / 406.6 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.003962/0.1013, allocations: 3.017 MB / 409.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1023, allocations: 0.6739 MB / 410.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1025, allocations: 7.938 kB / 410.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1026, allocations: 35.77 kB / 410.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.1028, allocations: 75.39 kB / 410.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1031, allocations: 99.86 kB / 410.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.1035, allocations: 402.6 kB / 410.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.1038, allocations: 249.6 kB / 411.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.104, allocations: 147.6 kB / 411.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1042, allocations: 159.3 kB / 411.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.1043, allocations: 40 kB / 411.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.1043, allocations: 44 kB / 411.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.1044, allocations: 79.75 kB / 411.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1045, allocations: 171.3 kB / 411.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.1049, allocations: 423 kB / 412.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1049, allocations: 0 / 412.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1049, allocations: 0 / 412.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1049, allocations: 4 kB / 412.1 MB, free: 10.72 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.001089/0.106, allocations: 0.6454 MB / 412.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1061, allocations: 8.031 kB / 412.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.1062, allocations: 40.55 kB / 412.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1064, allocations: 272.7 kB / 413.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1064, allocations: 16.94 kB / 413.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.1065, allocations: 24.38 kB / 413.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.1071, allocations: 335.9 kB / 413.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1071, allocations: 0 / 413.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.1072, allocations: 12 kB / 413.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1072, allocations: 8 kB / 413.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.1078, allocations: 282 kB / 413.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.1092, allocations: 1.045 MB / 414.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.1098, allocations: 302.6 kB / 415.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.1102, allocations: 161.7 kB / 415.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.1102, allocations: 7.984 kB / 415.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.1106, allocations: 192.8 kB / 415.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.1106, allocations: 0 / 415.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009233/0.1115, allocations: 414.4 kB / 415.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1116, allocations: 63.34 kB / 415.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1118, allocations: 229 kB / 416.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1118, allocations: 37.64 kB / 416.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.1119, allocations: 168.1 kB / 416.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.112, allocations: 78.94 kB / 416.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.1121, allocations: 49.61 kB / 416.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1122, allocations: 338.8 kB / 416.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.1125, allocations: 123.9 kB / 416.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.1128, allocations: 163.3 kB / 417.1 MB, free: 5.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.1134, allocations: 305.9 kB / 417.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1134, allocations: 4 kB / 417.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006925/0.1141, allocations: 382 kB / 417.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.1141, allocations: 29.7 kB / 417.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1142, allocations: 4 kB / 417.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1142, allocations: 0 / 417.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.1145, allocations: 75.98 kB / 417.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1145, allocations: 4 kB / 417.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.1147, allocations: 39.72 kB / 417.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.1148, allocations: 8 kB / 417.9 MB, free: 4.645 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.0001436/0.1149, allocations: 164 kB / 418.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.115, allocations: 31.64 kB / 418.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006844/0.1157, allocations: 333 kB / 418.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1157, allocations: 3.984 kB / 418.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1157, allocations: 0 / 418.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1157, allocations: 4 kB / 418.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.116, allocations: 385.2 kB / 418.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1161, allocations: 0 / 418.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.1164, allocations: 63.95 kB / 418.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1164, allocations: 3.938 kB / 418.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.1164, allocations: 8 kB / 418.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1164, allocations: 0 / 418.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1164, allocations: 0 / 418.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009334/0.1174, allocations: 0.4947 MB / 419.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.1174, allocations: 108.7 kB / 419.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.1175, allocations: 4 kB / 419.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.1177, allocations: 19.97 kB / 419.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.1178, allocations: 31.91 kB / 419.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1178, allocations: 8.062 kB / 419.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1179, allocations: 168.5 kB / 419.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1179, allocations: 0 / 419.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1182, allocations: 71.75 kB / 419.8 MB, free: 2.672 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.0001079/0.1183, allocations: 111.1 kB / 419.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.119, allocations: 371.3 kB / 420.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.119, allocations: 0 / 420.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.1193, allocations: 143.8 kB / 420.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.1196, allocations: 36.41 kB / 420.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1208, allocations: 0.7243 MB / 421.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1211, allocations: 0.7709 MB / 421.9 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.1212, allocations: 37.47 kB / 422 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.1213, allocations: 19.44 kB / 422 MB, free: 408 kB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1213, allocations: 0 / 422 MB, free: 408 kB / 350.1 MB Notification: Performance of Templates: time 0.1753/0.2966, allocations: 2.632 MB / 424.6 MB, free: 48.09 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)