Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",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.005873/0.005873, allocations: 99.66 kB / 15.73 MB, free: 5.551 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.00132/0.00132, allocations: 196.5 kB / 16.68 MB, free: 5.48 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 5.086/5.086, allocations: 4.634 MB / 295.2 MB, free: 3.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 59.91 kB / 407.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3031, allocations: 50.5 MB / 458.3 MB, free: 19.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003386/0.3065, allocations: 3.202 MB / 461.5 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3077, allocations: 0.7745 MB / 462.3 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3078, allocations: 9.781 kB / 462.3 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.308, allocations: 53.2 kB / 462.3 MB, free: 16.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.3082, allocations: 128.4 kB / 462.5 MB, free: 16.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3085, allocations: 136.2 kB / 462.6 MB, free: 16.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.3089, allocations: 0.5067 MB / 463.1 MB, free: 16.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.3092, allocations: 272.1 kB / 463.4 MB, free: 16.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.3094, allocations: 192.4 kB / 463.6 MB, free: 16.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.3096, allocations: 200.7 kB / 463.8 MB, free: 16.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.3097, allocations: 56.97 kB / 463.8 MB, free: 16.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.3098, allocations: 60.62 kB / 463.9 MB, free: 16.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.054e-05/0.3098, allocations: 101.3 kB / 464 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.31, allocations: 229 kB / 464.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.3106, allocations: 0.5526 MB / 464.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.3106, allocations: 0 / 464.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.3106, allocations: 0 / 464.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3106, allocations: 0 / 464.7 MB, free: 15.7 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001152/0.3117, allocations: 0.7389 MB / 465.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.3118, allocations: 9.312 kB / 465.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.3118, allocations: 68.39 kB / 465.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.3119, allocations: 50.7 kB / 465.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.3122, allocations: 325.2 kB / 465.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.54e-05/0.3123, allocations: 55.92 kB / 466 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.3124, allocations: 31.81 kB / 466 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.3131, allocations: 395.2 kB / 466.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3131, allocations: 0 / 466.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.3132, allocations: 15.36 kB / 466.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3132, allocations: 8.031 kB / 466.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.314, allocations: 323.8 kB / 466.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3158, allocations: 1.506 MB / 468.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.3167, allocations: 379.4 kB / 468.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.3172, allocations: 204.3 kB / 468.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3172, allocations: 3.828 kB / 468.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004622/0.3177, allocations: 241.2 kB / 469.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.3177, allocations: 0 / 469.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001181/0.3189, allocations: 499.4 kB / 469.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.3189, allocations: 86.44 kB / 469.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.3191, allocations: 280.9 kB / 469.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3192, allocations: 32.88 kB / 469.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.3193, allocations: 204.3 kB / 470.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.3193, allocations: 94.03 kB / 470.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.3194, allocations: 56.58 kB / 470.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.3195, allocations: 338.8 kB / 470.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.3199, allocations: 149.8 kB / 470.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.3203, allocations: 211.8 kB / 471 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.321, allocations: 371.6 kB / 471.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.321, allocations: 0 / 471.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000906/0.3219, allocations: 456.9 kB / 471.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.322, allocations: 38.17 kB / 471.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.322, allocations: 1.375 kB / 471.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.322, allocations: 4.562 kB / 471.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.323, allocations: 211.9 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3244, allocations: 1.674 MB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.3247, allocations: 51.67 kB / 473.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.3247, allocations: 8.016 kB / 473.8 MB, free: 9.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.3249, allocations: 182.3 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.3249, allocations: 31.16 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008342/0.3258, allocations: 373.2 kB / 474.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3258, allocations: 7.609 kB / 474.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3258, allocations: 3.938 kB / 474.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3258, allocations: 3.234 kB / 474.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.3262, allocations: 456.1 kB / 474.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3262, allocations: 1.578 kB / 474.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.3272, allocations: 200.4 kB / 475 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3272, allocations: 5.188 kB / 475 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.3273, allocations: 8.844 kB / 475 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.3285, allocations: 1.672 MB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3285, allocations: 1.766 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.3297, allocations: 0.5814 MB / 477.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.3297, allocations: 111.4 kB / 477.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.3298, allocations: 7.562 kB / 477.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.33, allocations: 26.11 kB / 477.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.3301, allocations: 25.34 kB / 477.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3301, allocations: 10.8 kB / 477.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3303, allocations: 201.2 kB / 477.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3303, allocations: 1.375 kB / 477.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.3307, allocations: 93.47 kB / 477.7 MB, free: 6.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/0.332, allocations: 1.128 MB / 478.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.3335, allocations: 0.516 MB / 479.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3335, allocations: 1.75 kB / 479.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009762/0.3345, allocations: 313.6 kB / 479.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3348, allocations: 49.08 kB / 479.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.3397, allocations: 3.566 MB / 483.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.3399, allocations: 0.792 MB / 484.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.3401, allocations: 33.84 kB / 484.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.3402, allocations: 104.7 kB / 484.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3402, allocations: 1.156 kB / 484.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6651/1.005, allocations: 6.914 MB / 491.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.57, allocations: 21.25 kB / 491.1 MB, free: 15.68 MB / 366.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Controlled_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_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)