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.001477/0.001477, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001533/0.001533, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8719/0.8719, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.03446/0.03446, allocations: 3.581 MB / 263.8 MB, free: 9.488 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.873e-06/1.873e-06, allocations: 0 / 281.3 MB, free: 7.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.527e-05, allocations: 2.312 kB / 281.3 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00251/0.002525, allocations: 1.709 MB / 283 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000951/0.003476, allocations: 0.5453 MB / 283.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.003567, allocations: 7.938 kB / 283.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.003669, allocations: 11.86 kB / 283.6 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.003757, allocations: 23.73 kB / 283.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.004015, allocations: 59.81 kB / 283.7 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.004199, allocations: 131.5 kB / 283.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.004319, allocations: 26.3 kB / 283.8 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.004548, allocations: 75.86 kB / 283.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.004643, allocations: 47.88 kB / 284 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.004668, allocations: 8 kB / 284 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.004719, allocations: 19.94 kB / 284 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.004765, allocations: 27.84 kB / 284 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.004812, allocations: 31.91 kB / 284.1 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.004969, allocations: 87.66 kB / 284.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004971, allocations: 0 / 284.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004972, allocations: 0 / 284.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.004975, allocations: 0 / 284.1 MB, free: 5.176 MB / 266.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.0004904/0.005465, allocations: 385.6 kB / 284.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.005503, allocations: 8.031 kB / 284.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.005662, allocations: 28.91 kB / 284.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.00583, allocations: 146.3 kB / 284.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.005841, allocations: 4.375 kB / 284.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.005859, allocations: 8.375 kB / 284.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.006068, allocations: 135.2 kB / 284.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006077, allocations: 192 / 284.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.00609, allocations: 4.375 kB / 284.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.006097, allocations: 7.938 kB / 284.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.006154, allocations: 27.86 kB / 284.9 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.006675, allocations: 0.5348 MB / 285.4 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.006799, allocations: 109 kB / 285.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.006842, allocations: 36.23 kB / 285.6 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.00686, allocations: 4 kB / 285.6 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.006999, allocations: 115.7 kB / 285.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.007, allocations: 0 / 285.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001834/0.007183, allocations: 85.53 kB / 285.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.007248, allocations: 158.2 kB / 285.9 MB, free: 3.164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.772e-05/0.007346, allocations: 155.3 kB / 286.1 MB, free: 3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.007364, allocations: 25.7 kB / 286.1 MB, free: 2.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.007493, allocations: 112.2 kB / 286.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.007508, allocations: 24.28 kB / 286.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.007546, allocations: 33.72 kB / 286.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.007611, allocations: 322.8 kB / 286.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.007646, allocations: 37.69 kB / 286.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.623e-05/0.007692, allocations: 69.98 kB / 286.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.024e-05/0.007772, allocations: 100.6 kB / 286.8 MB, free: 2.211 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.007775, allocations: 0 / 286.8 MB, free: 2.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001127/0.007887, allocations: 140.9 kB / 286.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.007912, allocations: 33.7 kB / 286.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.007916, allocations: 0 / 286.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.007928, allocations: 0 / 286.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.00801, allocations: 31.91 kB / 287 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.008013, allocations: 3.984 kB / 287 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.008075, allocations: 19.92 kB / 287 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.008086, allocations: 8 kB / 287 MB, free: 1.953 MB / 266.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 6.878e-05/0.008155, allocations: 128.8 kB / 287.1 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.008175, allocations: 15.98 kB / 287.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.457e-05/0.008259, allocations: 53.97 kB / 287.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.008262, allocations: 192 / 287.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.008265, allocations: 4 kB / 287.2 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.008273, allocations: 7.969 kB / 287.2 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.008412, allocations: 206.7 kB / 287.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008413, allocations: 0 / 287.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.008459, allocations: 23.92 kB / 287.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.008461, allocations: 0 / 287.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.008472, allocations: 16.12 kB / 287.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008473, allocations: 0 / 287.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008474, allocations: 0 / 287.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.008583, allocations: 194.8 kB / 287.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.008595, allocations: 11.89 kB / 287.7 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.008614, allocations: 8 kB / 287.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.008673, allocations: 11.98 kB / 287.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.008716, allocations: 15.97 kB / 287.7 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.008722, allocations: 4 kB / 287.7 MB, free: 1.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.00875, allocations: 45.62 kB / 287.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00875, allocations: 0 / 287.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.008891, allocations: 23.94 kB / 287.8 MB, free: 1.125 MB / 266.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 7.027e-05/0.008962, allocations: 80.36 kB / 287.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.009228, allocations: 137.8 kB / 288 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.009231, allocations: 0 / 288 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.009268, allocations: 28.78 kB / 288 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.009426, allocations: 36.02 kB / 288 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.009863, allocations: 279 kB / 288.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.0099, allocations: 71.33 kB / 288.4 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.634e-05/0.009937, allocations: 8.734 kB / 288.4 MB, free: 412 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.01, allocations: 67.36 kB / 288.5 MB, free: 344 kB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01, allocations: 0 / 288.5 MB, free: 344 kB / 266.7 MB Notification: Performance of Templates: time 0.09552/0.1055, allocations: 1.332 MB / 289.8 MB, free: 23.43 MB / 266.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=240 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5938250347971916]