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: "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006147/0.006147, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001282/0.001282, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 1.334/1.334, allocations: 4.634 MB / 295.2 MB, free: 3.008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 59.91 kB / 407.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3515, allocations: 50.5 MB / 458.2 MB, free: 19.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002729/0.3543, allocations: 1.678 MB / 459.9 MB, free: 18.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.3552, allocations: 475.5 kB / 460.4 MB, free: 18.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.3553, allocations: 3.219 kB / 460.4 MB, free: 18.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3554, allocations: 11.25 kB / 460.4 MB, free: 18.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.3555, allocations: 30.09 kB / 460.4 MB, free: 18.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.3558, allocations: 39.22 kB / 460.5 MB, free: 18.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.356, allocations: 121.5 kB / 460.6 MB, free: 18.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.3562, allocations: 48.17 kB / 460.6 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3564, allocations: 53.42 kB / 460.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3565, allocations: 56.5 kB / 460.7 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.3565, allocations: 8.969 kB / 460.7 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.551e-05/0.3566, allocations: 9 kB / 460.7 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.3566, allocations: 23.39 kB / 460.8 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.3567, allocations: 53.25 kB / 460.8 MB, free: 18.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.3569, allocations: 107.7 kB / 460.9 MB, free: 18.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3569, allocations: 0 / 460.9 MB, free: 18.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.357, allocations: 0 / 460.9 MB, free: 18.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.357, allocations: 0.5156 kB / 460.9 MB, free: 18.02 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.0008237/0.3578, allocations: 468.3 kB / 461.4 MB, free: 17.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3579, allocations: 9 kB / 461.4 MB, free: 17.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.17e-05/0.3579, allocations: 49.36 kB / 461.4 MB, free: 17.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.358, allocations: 22.84 kB / 461.5 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3582, allocations: 200.6 kB / 461.7 MB, free: 17.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3582, allocations: 14.92 kB / 461.7 MB, free: 17.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3582, allocations: 14.09 kB / 461.7 MB, free: 17.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.3586, allocations: 179.9 kB / 461.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3586, allocations: 0 / 461.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3587, allocations: 3.125 kB / 461.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3587, allocations: 3.641 kB / 461.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.3591, allocations: 131.4 kB / 462 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.3599, allocations: 0.7305 MB / 462.7 MB, free: 16.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.3603, allocations: 175.4 kB / 462.9 MB, free: 16.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.3605, allocations: 89.73 kB / 463 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3606, allocations: 0 / 463 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.3609, allocations: 164.2 kB / 463.2 MB, free: 16.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.3609, allocations: 0 / 463.2 MB, free: 16.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007902/0.3617, allocations: 231 kB / 463.4 MB, free: 16.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.3618, allocations: 162.9 kB / 463.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3619, allocations: 172.3 kB / 463.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.362, allocations: 28.8 kB / 463.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.362, allocations: 119 kB / 463.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.362, allocations: 28.73 kB / 463.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.3621, allocations: 26.14 kB / 463.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.3622, allocations: 334 kB / 464.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.3624, allocations: 57.14 kB / 464.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.3626, allocations: 91.08 kB / 464.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.3631, allocations: 181.5 kB / 464.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3631, allocations: 0 / 464.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005289/0.3636, allocations: 222.4 kB / 464.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/0.3637, allocations: 36.33 kB / 464.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3637, allocations: 0.5156 kB / 464.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3637, allocations: 3.219 kB / 464.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.3639, allocations: 30.84 kB / 464.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3639, allocations: 3.938 kB / 464.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.3641, allocations: 34 kB / 464.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.3641, allocations: 3.984 kB / 464.9 MB, free: 14.93 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.0001064/0.3642, allocations: 129.4 kB / 465 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.3642, allocations: 10.95 kB / 465 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.3644, allocations: 95.75 kB / 465.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3645, allocations: 6.984 kB / 465.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3645, allocations: 3.031 kB / 465.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3645, allocations: 4.781 kB / 465.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.3648, allocations: 320.4 kB / 465.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3648, allocations: 3.875 kB / 465.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3649, allocations: 30.45 kB / 465.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3649, allocations: 3.969 kB / 465.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.365, allocations: 4.719 kB / 465.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.365, allocations: 7.594 kB / 465.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.365, allocations: 64 / 465.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.3655, allocations: 292.7 kB / 465.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.3655, allocations: 91.98 kB / 465.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3656, allocations: 3.953 kB / 465.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.3657, allocations: 22.89 kB / 465.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.3658, allocations: 16.64 kB / 465.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3659, allocations: 8.547 kB / 465.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.738e-05/0.366, allocations: 128.4 kB / 466 MB, free: 14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.366, allocations: 0 / 466 MB, free: 14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.3662, allocations: 28.22 kB / 466.1 MB, free: 13.99 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 0.001001/0.3672, allocations: 0.9039 MB / 467 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006038/0.3679, allocations: 202.7 kB / 467.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3679, allocations: 1.125 kB / 467.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.3682, allocations: 79.5 kB / 467.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.3686, allocations: 21.61 kB / 467.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.3722, allocations: 2.044 MB / 469.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3725, allocations: 0.718 MB / 470 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.3726, allocations: 17.92 kB / 470 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3727, allocations: 41.11 kB / 470.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3727, allocations: 3.938 kB / 470.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/0.5371, allocations: 2.946 MB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.375, allocations: 16.72 kB / 473.1 MB, free: 10.31 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_ArtificialInput_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)