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.005085/0.005085, allocations: 101.9 kB / 15.74 MB, free: 6.039 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.001182/0.001182, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 5.133/5.133, allocations: 4.637 MB / 295.2 MB, free: 3.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 63.89 kB / 407.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3054, allocations: 50.5 MB / 458.2 MB, free: 19.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002356/0.3077, allocations: 1.68 MB / 459.9 MB, free: 18.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005521/0.3083, allocations: 471.1 kB / 460.4 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.3084, allocations: 3.031 kB / 460.4 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.117e-05/0.3084, allocations: 19.14 kB / 460.4 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.3085, allocations: 18.83 kB / 460.4 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.3086, allocations: 43.73 kB / 460.5 MB, free: 18.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3087, allocations: 124.6 kB / 460.6 MB, free: 18.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.3088, allocations: 47.2 kB / 460.6 MB, free: 18.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.3089, allocations: 53.92 kB / 460.7 MB, free: 18.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.309, allocations: 60.45 kB / 460.7 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3091, allocations: 9.281 kB / 460.8 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.3091, allocations: 6.656 kB / 460.8 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.3091, allocations: 23.75 kB / 460.8 MB, free: 18.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.3092, allocations: 50.5 kB / 460.8 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.3093, allocations: 101.7 kB / 460.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3093, allocations: 0.6562 kB / 460.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.3093, allocations: 0 / 460.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.3093, allocations: 0 / 460.9 MB, free: 18.12 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.0005788/0.3099, allocations: 471.4 kB / 461.4 MB, free: 17.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.654e-05/0.31, allocations: 13.66 kB / 461.4 MB, free: 17.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.31, allocations: 45.28 kB / 461.4 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.3101, allocations: 18.69 kB / 461.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3102, allocations: 205.5 kB / 461.7 MB, free: 17.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3102, allocations: 18.12 kB / 461.7 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3102, allocations: 10.28 kB / 461.7 MB, free: 17.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.3106, allocations: 181.9 kB / 461.9 MB, free: 17.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.3106, allocations: 0 / 461.9 MB, free: 17.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3106, allocations: 3.984 kB / 461.9 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3106, allocations: 3.25 kB / 461.9 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.311, allocations: 132.2 kB / 462 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.3117, allocations: 0.7292 MB / 462.7 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.312, allocations: 175 kB / 462.9 MB, free: 16.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.3122, allocations: 85.31 kB / 463 MB, free: 16.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3122, allocations: 3.312 kB / 463 MB, free: 16.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.3125, allocations: 167.8 kB / 463.2 MB, free: 16.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3125, allocations: 0 / 463.2 MB, free: 16.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006528/0.3132, allocations: 227.9 kB / 463.4 MB, free: 16.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3132, allocations: 162.5 kB / 463.5 MB, free: 16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3134, allocations: 172.5 kB / 463.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3134, allocations: 29.7 kB / 463.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.3134, allocations: 118.1 kB / 463.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.3135, allocations: 29.39 kB / 463.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.3135, allocations: 29.84 kB / 463.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.3136, allocations: 326.7 kB / 464.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.3138, allocations: 58.41 kB / 464.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.314, allocations: 98.03 kB / 464.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.3144, allocations: 171.1 kB / 464.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3144, allocations: 3.094 kB / 464.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004684/0.3149, allocations: 226.5 kB / 464.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.3149, allocations: 33.27 kB / 464.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3149, allocations: 0 / 464.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3149, allocations: 3.25 kB / 464.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3151, allocations: 27.25 kB / 464.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3151, allocations: 3.484 kB / 464.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3152, allocations: 37.39 kB / 464.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3153, allocations: 7.375 kB / 464.9 MB, free: 15.03 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 7.687e-05/0.3154, allocations: 129.3 kB / 465 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3154, allocations: 13.81 kB / 465 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.3156, allocations: 89.28 kB / 465.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3156, allocations: 2.844 kB / 465.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3156, allocations: 3.031 kB / 465.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3156, allocations: 4.688 kB / 465.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.3158, allocations: 329.4 kB / 465.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3158, allocations: 1.281 kB / 465.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.316, allocations: 24.53 kB / 465.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.316, allocations: 1.344 kB / 465.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.316, allocations: 7.297 kB / 465.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.316, allocations: 6.016 kB / 465.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.316, allocations: 1.219 kB / 465.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.3165, allocations: 285.9 kB / 465.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.3165, allocations: 94.2 kB / 465.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.3165, allocations: 7.328 kB / 465.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3167, allocations: 21.53 kB / 465.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.3168, allocations: 20.95 kB / 465.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3168, allocations: 4.953 kB / 465.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.3169, allocations: 127 kB / 466 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3169, allocations: 0 / 466 MB, free: 14.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3171, allocations: 28.34 kB / 466.1 MB, free: 14.09 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.0007941/0.3179, allocations: 0.9047 MB / 467 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004536/0.3184, allocations: 198.4 kB / 467.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3184, allocations: 13.12 kB / 467.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3187, allocations: 78.66 kB / 467.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.319, allocations: 18.34 kB / 467.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3213, allocations: 2.05 MB / 469.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.3214, allocations: 0.7155 MB / 470 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.107e-05/0.3215, allocations: 24.94 kB / 470.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.3216, allocations: 37.12 kB / 470.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3216, allocations: 0 / 470.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5093/0.8309, allocations: 2.953 MB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.898, allocations: 13.34 kB / 473.1 MB, free: 10.4 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 & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Input.SIM_ArtificialInput_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)