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.001133/0.001133, allocations: 101.6 kB / 15.98 MB, free: 5.848 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.001151/0.001151, allocations: 191.8 kB / 16.9 MB, free: 5.73 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.274/1.274, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 115.3 MB / 406.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.283, allocations: 76.16 MB / 0.556 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002272/0.2853, allocations: 1.532 MB / 0.5575 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2864, allocations: 1.088 MB / 0.5586 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.2864, allocations: 3.375 kB / 0.5586 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2866, allocations: 12.64 kB / 0.5586 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.2867, allocations: 34.14 kB / 0.5586 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.2869, allocations: 57.7 kB / 0.5587 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.2871, allocations: 156.3 kB / 0.5588 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.2872, allocations: 56.95 kB / 0.5589 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.2873, allocations: 79.52 kB / 0.559 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.2875, allocations: 61.5 kB / 0.559 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.2875, allocations: 11.5 kB / 0.559 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.673e-05/0.2876, allocations: 20.95 kB / 0.559 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.732e-05/0.2876, allocations: 60.75 kB / 0.5591 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.2877, allocations: 71.27 kB / 0.5592 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.2879, allocations: 203.8 kB / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.2879, allocations: 0 / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2879, allocations: 0 / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2879, allocations: 0.5938 kB / 0.5594 GB, free: 33.3 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.0005436/0.2885, allocations: 494.3 kB / 0.5598 GB, free: 32.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.2885, allocations: 9.219 kB / 0.5598 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.2886, allocations: 41.94 kB / 0.5599 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.2886, allocations: 18.31 kB / 0.5599 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.2888, allocations: 264.8 kB / 0.5602 GB, free: 32.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.289, allocations: 119.8 kB / 0.5603 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.289, allocations: 7.844 kB / 0.5603 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.2893, allocations: 159.4 kB / 0.5604 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.2893, allocations: 0 / 0.5604 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.2893, allocations: 1.562 kB / 0.5604 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.2894, allocations: 16.67 kB / 0.5604 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.2894, allocations: 37.17 kB / 0.5605 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009011/0.2904, allocations: 473.9 kB / 0.5609 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.2904, allocations: 32.78 kB / 0.561 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.2905, allocations: 27.02 kB / 0.561 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.2905, allocations: 4.969 kB / 0.561 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.2905, allocations: 37.62 kB / 0.561 GB, free: 31.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.2905, allocations: 1.094 kB / 0.561 GB, free: 31.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002271/0.2908, allocations: 97.25 kB / 0.5611 GB, free: 31.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.2908, allocations: 59.62 kB / 0.5612 GB, free: 31.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.291, allocations: 221.3 kB / 0.5614 GB, free: 31.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.291, allocations: 30.95 kB / 0.5614 GB, free: 31.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.291, allocations: 122 kB / 0.5615 GB, free: 31.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.2911, allocations: 27.95 kB / 0.5616 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.2911, allocations: 29.58 kB / 0.5616 GB, free: 31.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.2912, allocations: 331.2 kB / 0.5619 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.2912, allocations: 30.33 kB / 0.5619 GB, free: 31.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.2913, allocations: 100.3 kB / 0.562 GB, free: 31.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.2914, allocations: 139.7 kB / 0.5622 GB, free: 30.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2914, allocations: 1.156 kB / 0.5622 GB, free: 30.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002046/0.2916, allocations: 156.9 kB / 0.5623 GB, free: 30.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2916, allocations: 6.719 kB / 0.5623 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2917, allocations: 4.766 kB / 0.5623 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2917, allocations: 2.375 kB / 0.5623 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.2918, allocations: 23.42 kB / 0.5624 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2918, allocations: 12.81 kB / 0.5624 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.2918, allocations: 8.438 kB / 0.5624 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2919, allocations: 7.578 kB / 0.5624 GB, free: 30.86 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 8.884e-05/0.292, allocations: 150.9 kB / 0.5625 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.292, allocations: 17.48 kB / 0.5625 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.2922, allocations: 115.7 kB / 0.5627 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2922, allocations: 2.25 kB / 0.5627 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2922, allocations: 3.938 kB / 0.5627 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2922, allocations: 0.7031 kB / 0.5627 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.2924, allocations: 238.3 kB / 0.5629 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2924, allocations: 0 / 0.5629 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.2925, allocations: 13.7 kB / 0.5629 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2925, allocations: 2.672 kB / 0.5629 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2925, allocations: 1.5 kB / 0.5629 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2925, allocations: 2.109 kB / 0.5629 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2925, allocations: 4.328 kB / 0.5629 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.2927, allocations: 189.8 kB / 0.5631 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.2927, allocations: 94.83 kB / 0.5632 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2927, allocations: 2.844 kB / 0.5632 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.293, allocations: 18.81 kB / 0.5632 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.293, allocations: 8.797 kB / 0.5632 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.2931, allocations: 14.97 kB / 0.5632 GB, free: 30.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.2932, allocations: 156.2 kB / 0.5634 GB, free: 30.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2932, allocations: 0 / 0.5634 GB, free: 30.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.2935, allocations: 31.98 kB / 0.5634 GB, free: 30.06 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.0003828/0.2939, allocations: 0.7494 MB / 0.5641 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.2941, allocations: 81.38 kB / 0.5642 GB, free: 29.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2941, allocations: 0 / 0.5642 GB, free: 29.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.2941, allocations: 25.41 kB / 0.5642 GB, free: 29.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2944, allocations: 34.8 kB / 0.5643 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2959, allocations: 1.946 MB / 0.5662 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.296, allocations: 0.7307 MB / 0.5669 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.2962, allocations: 54.14 kB / 0.5669 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.2962, allocations: 45.12 kB / 0.567 GB, free: 26.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2962, allocations: 1.875 kB / 0.567 GB, free: 26.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.734/2.03, allocations: 4.084 MB / 0.571 GB, free: 26.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/2.03, allocations: 202.1 kB / 0.5712 GB, free: 26.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/4.017, allocations: 4 kB / 0.5712 GB, free: 26.34 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)