Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001254/0.001254, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1496/0.1496, allocations: 4.631 MB / 294.6 MB, free: 3.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009841/0.0009842, allocations: 51.91 kB / 355.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08832, allocations: 50.51 MB / 406.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004411/0.09279, allocations: 3.017 MB / 409.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.09384, allocations: 0.6583 MB / 410 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.09398, allocations: 7.938 kB / 410.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.09412, allocations: 31.77 kB / 410.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.09428, allocations: 75.39 kB / 410.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.09454, allocations: 87.94 kB / 410.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.09487, allocations: 358.6 kB / 410.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.09515, allocations: 168.9 kB / 410.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.09533, allocations: 131.5 kB / 410.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.09551, allocations: 151.3 kB / 411 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.09556, allocations: 23.94 kB / 411.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.953e-05/0.09561, allocations: 24 kB / 411.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.09569, allocations: 59.77 kB / 411.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.09582, allocations: 155.2 kB / 411.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.09611, allocations: 379.1 kB / 411.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09612, allocations: 0 / 411.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.09613, allocations: 0 / 411.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.09614, allocations: 0 / 411.7 MB, free: 11.22 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.0009949/0.09714, allocations: 0.6371 MB / 412.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.09717, allocations: 12.03 kB / 412.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.09724, allocations: 32.56 kB / 412.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.09748, allocations: 268.7 kB / 412.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.0975, allocations: 16.94 kB / 412.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.09755, allocations: 24.38 kB / 412.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.09813, allocations: 316 kB / 413 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.09815, allocations: 0 / 413 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.09818, allocations: 12 kB / 413 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.09819, allocations: 4 kB / 413 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.09875, allocations: 246 kB / 413.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1, allocations: 1.013 MB / 414.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.1007, allocations: 278.6 kB / 414.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.101, allocations: 144.8 kB / 414.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.101, allocations: 4 kB / 414.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.1014, allocations: 177.8 kB / 414.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.1014, allocations: 0 / 414.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008566/0.1022, allocations: 385.5 kB / 415.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1023, allocations: 51.41 kB / 415.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1024, allocations: 217 kB / 415.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1025, allocations: 37.64 kB / 415.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.1026, allocations: 168.1 kB / 415.7 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.1026, allocations: 74.94 kB / 415.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.1027, allocations: 53.55 kB / 415.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.1028, allocations: 334.8 kB / 416.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.1031, allocations: 111.9 kB / 416.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.1034, allocations: 143.3 kB / 416.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.1039, allocations: 277.9 kB / 416.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1039, allocations: 4 kB / 416.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006547/0.1046, allocations: 358 kB / 417 MB, free: 5.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.1046, allocations: 33.64 kB / 417 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1046, allocations: 0 / 417 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1047, allocations: 7.984 kB / 417 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.105, allocations: 67.89 kB / 417.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.105, allocations: 3.984 kB / 417.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1052, allocations: 47.78 kB / 417.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1052, allocations: 12 kB / 417.2 MB, free: 5.438 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 (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 (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.000134/0.1054, allocations: 154 kB / 417.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1054, allocations: 27.66 kB / 417.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006423/0.1061, allocations: 296.6 kB / 417.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1061, allocations: 4 kB / 417.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1061, allocations: 0 / 417.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1061, allocations: 7.969 kB / 417.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.1064, allocations: 369.3 kB / 418 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1064, allocations: 3.938 kB / 418 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.1068, allocations: 55.95 kB / 418.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1068, allocations: 3.938 kB / 418.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.1068, allocations: 7.984 kB / 418.1 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1068, allocations: 8 kB / 418.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1068, allocations: 0 / 418.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.1078, allocations: 449.7 kB / 418.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.1079, allocations: 104.7 kB / 418.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.1079, allocations: 8 kB / 418.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1081, allocations: 23.97 kB / 418.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.1082, allocations: 23.91 kB / 418.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1082, allocations: 4 kB / 418.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1084, allocations: 164.5 kB / 418.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1084, allocations: 0 / 418.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1086, allocations: 75.81 kB / 418.9 MB, free: 3.578 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,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 (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.0001146/0.1088, allocations: 99.25 kB / 419 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006676/0.1094, allocations: 326 kB / 419.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1095, allocations: 0 / 419.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.1097, allocations: 132 kB / 419.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.11, allocations: 32.42 kB / 419.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1111, allocations: 0.7063 MB / 420.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1114, allocations: 0.7596 MB / 420.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.1115, allocations: 29.53 kB / 421 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.1116, allocations: 27.42 kB / 421 MB, free: 1.41 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1116, allocations: 0 / 421 MB, free: 1.41 MB / 350.1 MB Notification: Performance of Templates: time 0.1598/0.2714, allocations: 2.362 MB / 423.4 MB, free: 48.15 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)