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.001467/0.001467, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001641/0.001641, allocations: 187 kB / 17.34 MB, free: 5.734 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.03507/0.03507, allocations: 4.653 MB / 295.9 MB, free: 10.22 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 408.9 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.09061, allocations: 50.51 MB / 459.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002784/0.09344, allocations: 1.678 MB / 461.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.09438, allocations: 470.8 kB / 461.5 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.09448, allocations: 8 kB / 461.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.09462, allocations: 19.8 kB / 461.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.09471, allocations: 19.78 kB / 461.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.09493, allocations: 43.89 kB / 461.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.09512, allocations: 115.6 kB / 461.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.09533, allocations: 49.39 kB / 461.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.09547, allocations: 55.78 kB / 461.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.09559, allocations: 63.64 kB / 461.9 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.09562, allocations: 11.98 kB / 461.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.126e-05/0.09565, allocations: 8 kB / 461.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.0957, allocations: 19.92 kB / 462 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.09578, allocations: 51.72 kB / 462 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.09593, allocations: 103.6 kB / 462.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09594, allocations: 0 / 462.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09595, allocations: 0 / 462.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.09596, allocations: 0 / 462.1 MB, free: 5.855 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.0008075/0.09677, allocations: 460.7 kB / 462.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.09681, allocations: 11.89 kB / 462.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.09687, allocations: 16.75 kB / 462.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.09709, allocations: 208.6 kB / 462.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.09713, allocations: 4.375 kB / 462.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.09716, allocations: 16.11 kB / 462.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.09754, allocations: 165.8 kB / 463 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.09756, allocations: 0 / 463 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.09758, allocations: 0 / 463 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.0976, allocations: 4 kB / 463 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.09804, allocations: 135.7 kB / 463.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.09892, allocations: 0.7043 MB / 463.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.09931, allocations: 161 kB / 464 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.09959, allocations: 92.27 kB / 464.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.09962, allocations: 0 / 464.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.09995, allocations: 163.5 kB / 464.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.09996, allocations: 0 / 464.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007996/0.1008, allocations: 237.3 kB / 464.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.1009, allocations: 162.2 kB / 464.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.101, allocations: 166.2 kB / 464.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.101, allocations: 29.7 kB / 464.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.1011, allocations: 104.3 kB / 464.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1011, allocations: 27.66 kB / 464.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.1012, allocations: 29.7 kB / 465 MB, free: 2.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1013, allocations: 322.8 kB / 465.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.1016, allocations: 59.94 kB / 465.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.1018, allocations: 100.2 kB / 465.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.1023, allocations: 173.8 kB / 465.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1023, allocations: 0 / 465.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005386/0.1028, allocations: 223 kB / 465.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.1029, allocations: 33.7 kB / 465.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1029, allocations: 4.125 kB / 465.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1029, allocations: 7.938 kB / 465.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.1031, allocations: 23.97 kB / 465.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.1032, allocations: 4 kB / 465.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.1033, allocations: 27.88 kB / 465.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1034, allocations: 4 kB / 465.9 MB, free: 1.641 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 9.999e-05/0.1035, allocations: 129.7 kB / 466 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.1035, allocations: 19.91 kB / 466.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.1037, allocations: 93.77 kB / 466.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1037, allocations: 0 / 466.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1037, allocations: 4 kB / 466.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.1037, allocations: 0 / 466.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.104, allocations: 322.5 kB / 466.5 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.104, allocations: 7.938 kB / 466.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1042, allocations: 32.09 kB / 466.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1042, allocations: 0 / 466.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1042, allocations: 4 kB / 466.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1042, allocations: 3.938 kB / 466.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1043, allocations: 4 kB / 466.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.1048, allocations: 290.6 kB / 466.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1048, allocations: 88.95 kB / 466.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.1049, allocations: 8 kB / 466.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.1051, allocations: 15.97 kB / 466.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.1052, allocations: 20.17 kB / 466.9 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1052, allocations: 7.984 kB / 466.9 MB, free: 492 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.412e-05/0.1053, allocations: 120.1 kB / 467.1 MB, free: 372 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1053, allocations: 0 / 467.1 MB, free: 372 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1056, allocations: 24 kB / 467.1 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.476e-05/0.1057, allocations: 107.8 kB / 467.2 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005649/0.1062, allocations: 203.3 kB / 467.4 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1062, allocations: 3.938 kB / 467.4 MB, free: 12 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.1065, allocations: 75.88 kB / 467.5 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.0003289/0.1069, allocations: 30.92 kB / 467.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.1075, allocations: 292.3 kB / 467.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1078, allocations: 0.7234 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.1079, allocations: 15.44 kB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1079, allocations: 0 / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Templates: time 0.00331/0.1112, allocations: 1.564 MB / 470.1 MB, free: 13.25 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)