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.007692/0.007692, allocations: 98.39 kB / 15.73 MB, free: 5.535 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.001662/0.001662, allocations: 185 kB / 16.67 MB, free: 5.473 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.04276/0.04276, allocations: 4.644 MB / 295.2 MB, free: 10.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 408.2 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.09058, allocations: 50.51 MB / 458.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00319/0.09381, allocations: 1.673 MB / 460.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.09481, allocations: 478.8 kB / 460.9 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.09494, allocations: 4 kB / 460.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.09507, allocations: 11.81 kB / 460.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.09518, allocations: 23.78 kB / 460.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.09544, allocations: 43.89 kB / 460.9 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.09566, allocations: 115.6 kB / 461.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.09586, allocations: 53.38 kB / 461.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.09604, allocations: 63.66 kB / 461.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.09616, allocations: 51.77 kB / 461.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.0962, allocations: 12 kB / 461.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.196e-05/0.09623, allocations: 12 kB / 461.2 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.09629, allocations: 27.89 kB / 461.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.09639, allocations: 47.73 kB / 461.3 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.09658, allocations: 99.56 kB / 461.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.09659, allocations: 0 / 461.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.0966, allocations: 0 / 461.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.09661, allocations: 0 / 461.4 MB, free: 5.859 MB / 334.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.0008652/0.09748, allocations: 464.7 kB / 461.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.09753, allocations: 8.031 kB / 461.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.09759, allocations: 20.73 kB / 461.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.0978, allocations: 198.7 kB / 462.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.09782, allocations: 4.375 kB / 462.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.09785, allocations: 12.12 kB / 462.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.09826, allocations: 165.8 kB / 462.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.09829, allocations: 3.938 kB / 462.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.09831, allocations: 8 kB / 462.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.09832, allocations: 4 kB / 462.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.0987, allocations: 119.8 kB / 462.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/0.09956, allocations: 0.7082 MB / 463.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.09993, allocations: 172.9 kB / 463.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.1001, allocations: 88.33 kB / 463.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.1002, allocations: 4 kB / 463.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.1005, allocations: 159.5 kB / 463.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1005, allocations: 0 / 463.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007053/0.1012, allocations: 237.4 kB / 463.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/0.1013, allocations: 162.2 kB / 463.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1015, allocations: 166.2 kB / 464.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1015, allocations: 29.7 kB / 464.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.1016, allocations: 104 kB / 464.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1016, allocations: 35.84 kB / 464.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.1017, allocations: 25.72 kB / 464.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1018, allocations: 322.8 kB / 464.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.102, allocations: 63.88 kB / 464.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.1023, allocations: 92.23 kB / 464.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.1026, allocations: 181.8 kB / 464.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1026, allocations: 0 / 464.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004849/0.1031, allocations: 215 kB / 465.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.1032, allocations: 41.69 kB / 465.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1032, allocations: 128 / 465.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1032, allocations: 7.938 kB / 465.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1034, allocations: 27.97 kB / 465.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1034, allocations: 7.938 kB / 465.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.1036, allocations: 19.89 kB / 465.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1036, allocations: 4 kB / 465.2 MB, free: 1.645 MB / 334.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.0001046/0.1037, allocations: 129.8 kB / 465.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.1037, allocations: 11.91 kB / 465.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.1039, allocations: 97.77 kB / 465.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1039, allocations: 4 kB / 465.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1039, allocations: 3.938 kB / 465.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.104, allocations: 4 kB / 465.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1042, allocations: 318.6 kB / 465.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1042, allocations: 4.125 kB / 465.8 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1044, allocations: 35.97 kB / 465.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1044, allocations: 0 / 465.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1044, allocations: 11.97 kB / 465.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.1044, allocations: 0 / 465.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1044, allocations: 0 / 465.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.1049, allocations: 290.6 kB / 466.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.105, allocations: 88.95 kB / 466.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.105, allocations: 8.047 kB / 466.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1052, allocations: 19.98 kB / 466.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.1052, allocations: 23.97 kB / 466.3 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1053, allocations: 4 kB / 466.3 MB, free: 492 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.1054, allocations: 120.1 kB / 466.4 MB, free: 372 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1054, allocations: 0 / 466.4 MB, free: 372 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1056, allocations: 24 kB / 466.4 MB, free: 348 kB / 334.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 9.569e-05/0.1057, allocations: 107.8 kB / 466.5 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.1063, allocations: 203.2 kB / 466.7 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1063, allocations: 0 / 466.7 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.1066, allocations: 79.88 kB / 466.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1069, allocations: 22.92 kB / 466.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.1075, allocations: 274.6 kB / 467.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1078, allocations: 0.7274 MB / 467.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.604e-05/0.1079, allocations: 16.41 kB / 467.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.1079, allocations: 11.44 kB / 467.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1079, allocations: 0 / 467.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Templates: time 0.00385/0.1118, allocations: 1.375 MB / 469.2 MB, free: 13.46 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)