Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, 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.0009584/0.0009587, allocations: 198.6 kB / 16.14 MB, free: 6.656 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.17/0.17, allocations: 4.632 MB / 294.6 MB, free: 3.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 59.91 kB / 355.9 MB, free: 3.035 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1133, allocations: 50.5 MB / 406.4 MB, free: 496 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002663/0.116, allocations: 1.729 MB / 408.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007519/0.1168, allocations: 478.8 kB / 408.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.1169, allocations: 3.938 kB / 408.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.864e-05/0.117, allocations: 15.86 kB / 408.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.184e-05/0.1171, allocations: 15.86 kB / 408.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.1173, allocations: 31.97 kB / 408.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1174, allocations: 107.6 kB / 408.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1175, allocations: 53.41 kB / 408.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1176, allocations: 51.77 kB / 408.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.1177, allocations: 47.77 kB / 408.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.1177, allocations: 4 kB / 408.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.198e-05/0.1178, allocations: 8 kB / 408.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.1178, allocations: 19.91 kB / 408.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.1179, allocations: 47.67 kB / 409 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.118, allocations: 99.89 kB / 409.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.118, allocations: 0 / 409.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.118, allocations: 0 / 409.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1181, allocations: 4 kB / 409.1 MB, free: 13.77 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008165/0.1189, allocations: 460.7 kB / 409.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1189, allocations: 8.031 kB / 409.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.294e-05/0.119, allocations: 16.75 kB / 409.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.1192, allocations: 204.5 kB / 409.7 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1192, allocations: 4.375 kB / 409.7 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1192, allocations: 12.12 kB / 409.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.1196, allocations: 165.8 kB / 409.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1196, allocations: 0 / 409.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1197, allocations: 3.938 kB / 409.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1197, allocations: 4 kB / 409.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.12, allocations: 123.8 kB / 410 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.1209, allocations: 0.7082 MB / 410.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.1214, allocations: 176.9 kB / 410.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.1216, allocations: 88.33 kB / 411 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1217, allocations: 4 kB / 411 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.122, allocations: 151.5 kB / 411.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.122, allocations: 4 kB / 411.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007099/0.1227, allocations: 237.1 kB / 411.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.1228, allocations: 166.7 kB / 411.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.123, allocations: 158.2 kB / 411.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.123, allocations: 37.69 kB / 411.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.1231, allocations: 104 kB / 411.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1231, allocations: 35.53 kB / 411.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1232, allocations: 25.7 kB / 411.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1233, allocations: 326.8 kB / 412.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1236, allocations: 59.94 kB / 412.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1238, allocations: 92.23 kB / 412.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.1242, allocations: 177.8 kB / 412.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1242, allocations: 0 / 412.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004795/0.1247, allocations: 215.1 kB / 412.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.1247, allocations: 33.7 kB / 412.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1248, allocations: 0 / 412.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1248, allocations: 7.938 kB / 412.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.1249, allocations: 31.91 kB / 412.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.125, allocations: 4 kB / 412.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1251, allocations: 28 kB / 412.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.1252, allocations: 4 kB / 412.9 MB, free: 9.559 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 10 * 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.000103/0.1253, allocations: 129.8 kB / 413 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1253, allocations: 12.09 kB / 413 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.1255, allocations: 97.75 kB / 413.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1255, allocations: 0 / 413.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1255, allocations: 8.062 kB / 413.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1255, allocations: 0 / 413.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.1258, allocations: 330.4 kB / 413.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1258, allocations: 11.88 kB / 413.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.126, allocations: 23.97 kB / 413.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.126, allocations: 0 / 413.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.126, allocations: 8 kB / 413.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.126, allocations: 0 / 413.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.126, allocations: 4 kB / 413.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.1265, allocations: 290.7 kB / 413.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.1266, allocations: 88.95 kB / 413.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1266, allocations: 4 kB / 413.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.1268, allocations: 16.06 kB / 413.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.1268, allocations: 23.86 kB / 413.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1269, allocations: 7.984 kB / 413.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.937e-05/0.1269, allocations: 124.1 kB / 414 MB, free: 8.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.127, allocations: 0 / 414 MB, free: 8.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1272, allocations: 27.91 kB / 414.1 MB, free: 8.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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 8.3e-05/0.1273, allocations: 103.2 kB / 414.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.1278, allocations: 195.2 kB / 414.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1278, allocations: 256 / 414.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.128, allocations: 83.88 kB / 414.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1283, allocations: 24.08 kB / 414.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.1289, allocations: 308.6 kB / 414.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1293, allocations: 0.7122 MB / 415.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.962e-05/0.1293, allocations: 12.42 kB / 415.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1294, allocations: 15.42 kB / 415.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1294, allocations: 0 / 415.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of Templates: time 0.003586/0.133, allocations: 1.19 MB / 416.7 MB, free: 5.543 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)