Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_ModelTime",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.001102/0.001102, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 187 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 71.12 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001891/0.2396, allocations: 0.592 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.042e-05/0.2396, allocations: 4 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.2396, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.2397, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.2397, allocations: 4 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.893e-05/0.2397, allocations: 4 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.848e-05/0.2398, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.2398, allocations: 3.938 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.61e-05/0.2399, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.01e-05/0.2399, allocations: 3.984 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2399, allocations: 3.938 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-06/0.2399, allocations: 4 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.2399, allocations: 3.984 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.24, allocations: 3.938 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.396e-05/0.24, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.24, allocations: 4 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.24, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.24, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002695/0.2403, allocations: 311.6 kB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2404, allocations: 8.031 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.2404, allocations: 30.75 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.78e-05/0.2404, allocations: 0.9375 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/0.2405, allocations: 172.4 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2405, allocations: 384 / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.2406, allocations: 384 / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.76e-05/0.2406, allocations: 34.27 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2407, allocations: 3.938 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.2407, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2407, allocations: 7.938 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.2407, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.2408, allocations: 149.7 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.158e-05/0.2409, allocations: 18.61 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.2409, allocations: 8.859 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.2409, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2409, allocations: 38.62 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.241, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.2411, allocations: 37.58 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.2411, allocations: 51.41 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.312e-05/0.2412, allocations: 89.86 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.2412, allocations: 29.83 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.2412, allocations: 80.14 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.2412, allocations: 4.188 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.2413, allocations: 17.7 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.2414, allocations: 314.8 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-06/0.2414, allocations: 3.938 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-06/0.2414, allocations: 4 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.241e-05/0.2414, allocations: 12.86 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2414, allocations: 0 / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.336e-05/0.2415, allocations: 33.7 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.2415, allocations: 4 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2415, allocations: 7.922 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2415, allocations: 0 / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/0.2416, allocations: 3.938 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2416, allocations: 7.984 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.2416, allocations: 4 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.2416, allocations: 4 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 5.487e-05/0.2417, allocations: 114.5 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-06/0.2417, allocations: 0 / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.2417, allocations: 7.062 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2417, allocations: 4 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2417, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2417, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.984e-05/0.2418, allocations: 145.7 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2418, allocations: 0 / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-06/0.2418, allocations: 0 / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2418, allocations: 4 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.2418, allocations: 7.938 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.2418, allocations: 3.938 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2418, allocations: 0 / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.977e-05/0.2419, allocations: 53.14 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.2419, allocations: 85.09 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.2419, allocations: 3.938 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.242, allocations: 0 / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-06/0.242, allocations: 4.031 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.242, allocations: 0 / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.217e-05/0.242, allocations: 75.28 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.242, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002005/0.2422, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB 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 (1): * Single equations (assignments): 1 * 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.0002878/0.2425, allocations: 0.6007 MB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.677e-05/0.2426, allocations: 4 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2426, allocations: 7.938 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.2426, allocations: 0 / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.2427, allocations: 3.938 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.243, allocations: 106.6 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.2432, allocations: 0.6728 MB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.106e-05/0.2432, allocations: 8.125 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.2432, allocations: 11.44 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2432, allocations: 0 / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.2592, allocations: 0.8663 MB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.626, allocations: 7.188 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)