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.0007948/0.0007947, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004871/0.004871, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.53/1.53, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.637/1.637, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000575/0.0005752, allocations: 17.42 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2266, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0008527/0.2275, allocations: 343.7 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.265e-05/0.2276, allocations: 3.938 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.2276, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.2276, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-06/0.2276, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.507e-05/0.2277, allocations: 4 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.2278, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.2278, allocations: 4 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.2278, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.07e-05/0.2279, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2279, allocations: 4 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-06/0.2279, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.2279, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.2279, allocations: 25.7 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.532e-05/0.228, allocations: 3.984 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.228, allocations: 3.938 kB / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.228, allocations: 0 / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.228, allocations: 4 kB / 0.7884 GB, free: 11.08 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.0002655/0.2283, allocations: 307.5 kB / 0.7887 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.2284, allocations: 8.094 kB / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.2284, allocations: 42.75 kB / 0.7887 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.2284, allocations: 4.938 kB / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.821e-05/0.2285, allocations: 160.4 kB / 0.7889 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2286, allocations: 384 / 0.7889 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.2286, allocations: 384 / 0.7889 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.58e-05/0.2287, allocations: 30.2 kB / 0.7889 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2287, allocations: 3.938 kB / 0.7889 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.2287, allocations: 0 / 0.7889 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2287, allocations: 7.984 kB / 0.7889 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.384e-05/0.2287, allocations: 4 kB / 0.7889 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.2288, allocations: 145.7 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.2289, allocations: 18.61 kB / 0.7891 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.2289, allocations: 8.797 kB / 0.7891 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.2289, allocations: 3.938 kB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.229, allocations: 34.62 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.229, allocations: 4 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001153/0.2291, allocations: 41.62 kB / 0.7892 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2291, allocations: 51.41 kB / 0.7892 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.516e-05/0.2292, allocations: 89.86 kB / 0.7893 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.2292, allocations: 25.7 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.2292, allocations: 80.14 kB / 0.7894 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.2292, allocations: 4.188 kB / 0.7894 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.2293, allocations: 13.72 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.2294, allocations: 319 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.2294, allocations: 0 / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/0.2294, allocations: 3.938 kB / 0.7897 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.2294, allocations: 12.86 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2294, allocations: 0 / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.433e-05/0.2295, allocations: 33.69 kB / 0.7898 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2295, allocations: 8 kB / 0.7898 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2295, allocations: 3.938 kB / 0.7898 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2295, allocations: 7.922 kB / 0.7898 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.2296, allocations: 4.094 kB / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2296, allocations: 0 / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.948e-06/0.2296, allocations: 0 / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.2296, allocations: 4 kB / 0.7898 GB, free: 9.387 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.788e-05/0.2297, allocations: 109.8 kB / 0.7899 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.2297, allocations: 3.938 kB / 0.7899 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/0.2297, allocations: 7.062 kB / 0.7899 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2297, allocations: 0 / 0.7899 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2297, allocations: 3.984 kB / 0.7899 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2297, allocations: 4 kB / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.834e-05/0.2298, allocations: 149.7 kB / 0.7901 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2298, allocations: 0 / 0.7901 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-06/0.2298, allocations: 0 / 0.7901 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.2299, allocations: 0 / 0.7901 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2299, allocations: 3.938 kB / 0.7901 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2299, allocations: 4 kB / 0.7901 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2299, allocations: 0 / 0.7901 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.844e-05/0.2299, allocations: 61.12 kB / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.23, allocations: 77.11 kB / 0.7902 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.23, allocations: 3.938 kB / 0.7902 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.23, allocations: 8 kB / 0.7902 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.23, allocations: 0 / 0.7902 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.23, allocations: 3.938 kB / 0.7902 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.493e-05/0.2301, allocations: 79.22 kB / 0.7903 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2301, allocations: 0 / 0.7903 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001886/0.2303, allocations: 0 / 0.7903 GB, free: 8.781 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.0002896/0.2305, allocations: 0.5929 MB / 0.7909 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.18e-05/0.2306, allocations: 4 kB / 0.7909 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2306, allocations: 0 / 0.7909 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.764e-06/0.2306, allocations: 7.938 kB / 0.7909 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.2308, allocations: 7.109 kB / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.231, allocations: 111.5 kB / 0.791 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.2313, allocations: 0.6731 MB / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.337e-05/0.2313, allocations: 0 / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.2313, allocations: 7.438 kB / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.2313, allocations: 0 / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009229/0.2405, allocations: 0.6849 MB / 0.7923 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.2408, allocations: 193.3 kB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.829, allocations: 3.938 kB / 0.7925 GB, free: 6.438 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)