Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",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.001098/0.001098, allocations: 104.7 kB / 16.27 MB, free: 6.055 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.001098/0.001098, allocations: 186.7 kB / 17.19 MB, free: 5.688 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.268/1.268, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.736/0.736, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 77.93 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002507/0.3086, allocations: 1.471 MB / 0.5687 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3099, allocations: 1.1 MB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.31, allocations: 1.125 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.3102, allocations: 22.95 kB / 0.5698 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.3103, allocations: 41.78 kB / 0.5699 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.3105, allocations: 58.34 kB / 0.5699 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.3107, allocations: 146.5 kB / 0.5701 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.3109, allocations: 55.86 kB / 0.5701 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.311, allocations: 84.33 kB / 0.5702 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.3111, allocations: 56.11 kB / 0.5702 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.3112, allocations: 11.19 kB / 0.5702 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.3113, allocations: 29.05 kB / 0.5703 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.3113, allocations: 54.28 kB / 0.5703 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.3114, allocations: 75.39 kB / 0.5704 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3117, allocations: 192.9 kB / 0.5706 GB, free: 30.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3117, allocations: 4 kB / 0.5706 GB, free: 30.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.3117, allocations: 1.344 kB / 0.5706 GB, free: 30.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3117, allocations: 0 / 0.5706 GB, free: 30.47 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005651/0.3123, allocations: 0.4885 MB / 0.5711 GB, free: 30.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3123, allocations: 12.84 kB / 0.5711 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.3123, allocations: 43.88 kB / 0.5711 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.3124, allocations: 17.22 kB / 0.5711 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3127, allocations: 256.2 kB / 0.5714 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.3128, allocations: 119.4 kB / 0.5715 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.3128, allocations: 4.781 kB / 0.5715 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.3131, allocations: 166.1 kB / 0.5717 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.3131, allocations: 0 / 0.5717 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.3132, allocations: 2.125 kB / 0.5717 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.3132, allocations: 21.7 kB / 0.5717 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.3133, allocations: 43.22 kB / 0.5717 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.3143, allocations: 458.4 kB / 0.5722 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.186e-05/0.3144, allocations: 35.97 kB / 0.5722 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.3144, allocations: 27.12 kB / 0.5722 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3145, allocations: 4.297 kB / 0.5722 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3145, allocations: 34.34 kB / 0.5723 GB, free: 29.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3145, allocations: 0 / 0.5723 GB, free: 29.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002383/0.3147, allocations: 111.1 kB / 0.5724 GB, free: 29.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.3148, allocations: 59.12 kB / 0.5724 GB, free: 29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3149, allocations: 213.2 kB / 0.5726 GB, free: 28.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.315, allocations: 27.14 kB / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.315, allocations: 126.8 kB / 0.5728 GB, free: 28.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.315, allocations: 28.69 kB / 0.5728 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.3151, allocations: 32.03 kB / 0.5728 GB, free: 28.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.3151, allocations: 324.9 kB / 0.5731 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/0.3152, allocations: 28.52 kB / 0.5732 GB, free: 28.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.3153, allocations: 101.6 kB / 0.5733 GB, free: 28.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.3154, allocations: 142.6 kB / 0.5734 GB, free: 28.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3154, allocations: 1.312 kB / 0.5734 GB, free: 28.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002148/0.3156, allocations: 157.1 kB / 0.5735 GB, free: 28.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3157, allocations: 6.531 kB / 0.5736 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3157, allocations: 3.875 kB / 0.5736 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3157, allocations: 3.969 kB / 0.5736 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.3158, allocations: 27.66 kB / 0.5736 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3158, allocations: 7.828 kB / 0.5736 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.3159, allocations: 12.16 kB / 0.5736 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.3159, allocations: 7.234 kB / 0.5736 GB, free: 28.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 9.17e-05/0.316, allocations: 147.1 kB / 0.5738 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.316, allocations: 16.75 kB / 0.5738 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.3162, allocations: 123.8 kB / 0.5739 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3163, allocations: 1.125 kB / 0.5739 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3163, allocations: 4.453 kB / 0.5739 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3163, allocations: 1.797 kB / 0.5739 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.3165, allocations: 233.9 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3165, allocations: 0.6562 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.3165, allocations: 13.62 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3165, allocations: 1.625 kB / 0.5741 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3165, allocations: 6 kB / 0.5741 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3166, allocations: 0 / 0.5741 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3166, allocations: 14.22 kB / 0.5742 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3167, allocations: 179.6 kB / 0.5743 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.3167, allocations: 92.11 kB / 0.5744 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.3168, allocations: 3.625 kB / 0.5744 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.317, allocations: 22.67 kB / 0.5744 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.317, allocations: 9.266 kB / 0.5744 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3171, allocations: 12.84 kB / 0.5745 GB, free: 27.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.3172, allocations: 161.2 kB / 0.5746 GB, free: 27.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3172, allocations: 0 / 0.5746 GB, free: 27.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.3175, allocations: 29.33 kB / 0.5746 GB, free: 27.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003999/0.3179, allocations: 0.7382 MB / 0.5754 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.3181, allocations: 80.44 kB / 0.5754 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3181, allocations: 1.281 kB / 0.5754 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.3182, allocations: 28.38 kB / 0.5755 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.3184, allocations: 29.11 kB / 0.5755 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.3199, allocations: 1.912 MB / 0.5774 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.3201, allocations: 0.7393 MB / 0.5781 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.3202, allocations: 50.39 kB / 0.5781 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.3203, allocations: 47.16 kB / 0.5782 GB, free: 24.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3203, allocations: 0 / 0.5782 GB, free: 24.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.3389, allocations: 4.169 MB / 0.5822 GB, free: 22.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.52, allocations: 13.09 kB / 0.5823 GB, free: 22.96 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)