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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007768/0.0007768, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007564/0.0007564, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8439/0.8439, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01665/0.01665, allocations: 3.575 MB / 263.5 MB, free: 9.789 MB / 250.7 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 388 MB, free: 9.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.565e-05, allocations: 2.281 kB / 388 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.001676/0.001691, allocations: 1.666 MB / 389.7 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005758/0.002267, allocations: 0.5181 MB / 390.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.002326, allocations: 8 kB / 390.2 MB, free: 7.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.962e-05/0.002406, allocations: 15.8 kB / 390.2 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.002462, allocations: 31.67 kB / 390.3 MB, free: 7.168 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.002664, allocations: 51.86 kB / 390.3 MB, free: 7.117 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.002807, allocations: 123.5 kB / 390.4 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.002916, allocations: 33.06 kB / 390.5 MB, free: 6.961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.003059, allocations: 79.8 kB / 390.6 MB, free: 6.883 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.003127, allocations: 55.81 kB / 390.6 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003146, allocations: 8 kB / 390.6 MB, free: 6.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.442e-05/0.00318, allocations: 12 kB / 390.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.003208, allocations: 19.92 kB / 390.7 MB, free: 6.789 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.003247, allocations: 31.91 kB / 390.7 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.003387, allocations: 119.6 kB / 390.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003389, allocations: 0 / 390.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.00339, allocations: 0 / 390.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003394, allocations: 4 kB / 390.8 MB, free: 6.637 MB / 314.7 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.0004705/0.003864, allocations: 403.3 kB / 391.2 MB, free: 6.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.003894, allocations: 8.031 kB / 391.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.004008, allocations: 28.83 kB / 391.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.004146, allocations: 149.5 kB / 391.4 MB, free: 6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.004156, allocations: 4.375 kB / 391.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.004169, allocations: 8.375 kB / 391.4 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.004391, allocations: 172.5 kB / 391.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.004399, allocations: 192 / 391.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.004412, allocations: 4.375 kB / 391.6 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.004418, allocations: 11.92 kB / 391.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.004619, allocations: 119.8 kB / 391.7 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.005061, allocations: 0.6338 MB / 392.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.005257, allocations: 164.9 kB / 392.5 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.005363, allocations: 88.33 kB / 392.6 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.005378, allocations: 0 / 392.6 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.005565, allocations: 163.5 kB / 392.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.005566, allocations: 0 / 392.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003859/0.005952, allocations: 237.8 kB / 393 MB, free: 4.254 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.006001, allocations: 162.2 kB / 393.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.006088, allocations: 162.8 kB / 393.3 MB, free: 3.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.006101, allocations: 29.7 kB / 393.3 MB, free: 3.855 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.006153, allocations: 108.2 kB / 393.4 MB, free: 3.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.006171, allocations: 27.75 kB / 393.4 MB, free: 3.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.006208, allocations: 33.64 kB / 393.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002672/0.006476, allocations: 326.8 kB / 393.8 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.006597, allocations: 93.7 kB / 393.9 MB, free: 3.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.00671, allocations: 117.9 kB / 394 MB, free: 3.113 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.006912, allocations: 189.7 kB / 394.2 MB, free: 2.906 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006915, allocations: 4 kB / 394.2 MB, free: 2.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002663/0.007181, allocations: 240.9 kB / 394.4 MB, free: 2.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.007203, allocations: 33.69 kB / 394.5 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007208, allocations: 4 kB / 394.5 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.007217, allocations: 4.125 kB / 394.5 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.007297, allocations: 31.91 kB / 394.5 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.007301, allocations: 0 / 394.5 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.007369, allocations: 23.94 kB / 394.5 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.00738, allocations: 7.984 kB / 394.5 MB, free: 2.539 MB / 314.7 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 7.093e-05/0.007451, allocations: 133.7 kB / 394.7 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.007465, allocations: 11.94 kB / 394.7 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.007576, allocations: 89.94 kB / 394.8 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007579, allocations: 4 kB / 394.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.007583, allocations: 0 / 394.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.007587, allocations: 3.984 kB / 394.8 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.007723, allocations: 266.2 kB / 395 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007724, allocations: 0 / 395 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.00778, allocations: 27.91 kB / 395.1 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007783, allocations: 4 kB / 395.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.007791, allocations: 0 / 395.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.007793, allocations: 4.062 kB / 395.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007794, allocations: 4 kB / 395.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.008039, allocations: 290.7 kB / 395.4 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.00805, allocations: 11.91 kB / 395.4 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.008064, allocations: 3.938 kB / 395.4 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.00814, allocations: 24.06 kB / 395.4 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.008189, allocations: 35.78 kB / 395.4 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.008196, allocations: 4 kB / 395.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.008244, allocations: 115.2 kB / 395.5 MB, free: 1.445 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008245, allocations: 0 / 395.5 MB, free: 1.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.008407, allocations: 20 kB / 395.6 MB, free: 1.426 MB / 314.7 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 6.712e-05/0.008474, allocations: 99.19 kB / 395.7 MB, free: 1.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.008754, allocations: 232.8 kB / 395.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008756, allocations: 0 / 395.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.008873, allocations: 71.88 kB / 396 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.009072, allocations: 15.98 kB / 396 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.009432, allocations: 303.3 kB / 396.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.009497, allocations: 97.3 kB / 396.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.009538, allocations: 16.5 kB / 396.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009538, allocations: 0 / 396.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of Templates: time 0.001912/0.01145, allocations: 1.63 MB / 398 MB, free: 14.89 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.979286927729845] Failed to read output from testmodel.py, exit status != 0: 0.01576433051377535 0.023396314 0.018501783 Calling exit ...