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.00115/0.00115, allocations: 105.4 kB / 15.7 MB, free: 24 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.001396/0.001396, allocations: 197.1 kB / 16.64 MB, free: 6.445 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.312/1.312, allocations: 205.1 MB / 222.5 MB, free: 4.586 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.679/1.679, 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.001413/0.001413, allocations: 71.47 kB / 0.6718 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2385, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001955/0.2405, allocations: 0.6009 MB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.058e-05/0.2406, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.2406, allocations: 0 / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.2406, allocations: 3.938 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.2407, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4e-05/0.2407, allocations: 8 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.2408, allocations: 3.984 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.2408, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/0.2409, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.115e-05/0.2409, allocations: 4 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.2409, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.141e-06/0.2409, allocations: 4 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.2409, allocations: 7.922 kB / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.2409, allocations: 0 / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.789e-05/0.241, allocations: 0 / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.241, allocations: 0 / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.241, allocations: 4 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.241, allocations: 0 / 0.7843 GB, free: 12.61 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.0003052/0.2413, allocations: 307.6 kB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2414, allocations: 8.031 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.2414, allocations: 34.69 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.2415, allocations: 0.9375 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.2416, allocations: 172.4 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2416, allocations: 384 / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.2416, allocations: 384 / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.469e-05/0.2417, allocations: 38.2 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2417, allocations: 3.938 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.2417, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2417, allocations: 7.984 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.713e-05/0.2417, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.2419, allocations: 145.7 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.414e-05/0.2419, allocations: 22.61 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.242, allocations: 4.859 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.242, allocations: 4 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.242, allocations: 38.56 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.242, allocations: 0 / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.2421, allocations: 33.64 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.2422, allocations: 51.41 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.286e-05/0.2422, allocations: 89.86 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2423, allocations: 33.64 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.2423, allocations: 84.27 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.2423, allocations: 4.188 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.2424, allocations: 17.7 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2425, allocations: 310.8 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.2425, allocations: 0 / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.2425, allocations: 0 / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.2426, allocations: 20.8 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2426, allocations: 0 / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.43e-05/0.2426, allocations: 33.77 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2426, allocations: 8 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2426, allocations: 3.938 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2427, allocations: 0 / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.2427, allocations: 0 / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.2427, allocations: 7.984 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-06/0.2428, allocations: 0 / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2428, allocations: 0 / 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 8.123e-05/0.2429, allocations: 109.8 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-06/0.2429, allocations: 4.031 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.2429, allocations: 7.062 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.2429, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2429, allocations: 4 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2429, allocations: 3.938 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.243, allocations: 153.6 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.243, allocations: 0 / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-06/0.2431, allocations: 0 / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2431, allocations: 4 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2431, allocations: 3.938 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2431, allocations: 4 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2431, allocations: 0 / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.346e-05/0.2431, allocations: 49.14 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.2432, allocations: 85.09 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2432, allocations: 7.938 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-06/0.2432, allocations: 0 / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.2433, allocations: 0 / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2433, allocations: 32 / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.2433, allocations: 83.22 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2433, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001866/0.2435, 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.0003838/0.2439, allocations: 0.5968 MB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.92e-05/0.244, allocations: 4.031 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.244, allocations: 0 / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.231e-06/0.244, allocations: 7.938 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.2441, allocations: 2.656 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.0002828/0.2444, 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.0002582/0.2447, allocations: 0.669 MB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.2447, allocations: 8 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.2447, allocations: 7.438 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2447, allocations: 4.125 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.2609, allocations: 0.8652 MB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.412, allocations: 10.19 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)