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.001506/0.001506, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001708/0.001708, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.414/3.414, allocations: 205.4 MB / 222.1 MB, free: 5.656 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 3.266/3.266, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0008308/0.0008309, allocations: 13.62 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5501, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002024/0.5522, allocations: 335.7 kB / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001005/0.5524, allocations: 3.938 kB / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.5524, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.5525, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.687e-05/0.5525, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.644e-05/0.5526, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.5527, allocations: 4 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.5529, allocations: 4 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.5529, allocations: 3.984 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.553, allocations: 0 / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.553, allocations: 4 kB / 0.7876 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.553, allocations: 0 / 0.7876 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.5531, allocations: 0 / 0.7876 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.105e-05/0.5531, allocations: 25.7 kB / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.724e-05/0.5532, allocations: 0 / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5532, allocations: 0 / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.003e-06/0.5532, allocations: 0 / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5533, allocations: 0 / 0.7876 GB, free: 11.53 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.000554/0.5538, allocations: 311.4 kB / 0.7879 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.375e-05/0.5539, allocations: 8.094 kB / 0.7879 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.554, allocations: 34.56 kB / 0.7879 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.554, allocations: 0 / 0.7879 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.5543, allocations: 175 kB / 0.7881 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.5543, allocations: 0 / 0.7881 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.5544, allocations: 0 / 0.7881 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.5546, allocations: 29.7 kB / 0.7881 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5546, allocations: 0 / 0.7881 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.5546, allocations: 0 / 0.7881 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.5547, allocations: 3.938 kB / 0.7881 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.5547, allocations: 4 kB / 0.7881 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.5551, allocations: 153.6 kB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.588e-05/0.5552, allocations: 26.53 kB / 0.7883 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.5552, allocations: 0 / 0.7883 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.293e-05/0.5553, allocations: 34.56 kB / 0.7883 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.5553, allocations: 0 / 0.7883 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002754/0.5556, allocations: 29.77 kB / 0.7884 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.5557, allocations: 55.53 kB / 0.7884 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.5558, allocations: 89.86 kB / 0.7885 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.5559, allocations: 25.7 kB / 0.7885 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.556, allocations: 84.12 kB / 0.7886 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.556, allocations: 8.188 kB / 0.7886 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.556, allocations: 0 / 0.7886 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004006/0.5565, allocations: 310.8 kB / 0.7889 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.5565, allocations: 11.92 kB / 0.7889 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.5565, allocations: 4 kB / 0.7889 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.5566, allocations: 4 kB / 0.7889 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5566, allocations: 0 / 0.7889 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001195/0.5567, allocations: 33.66 kB / 0.789 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.5568, allocations: 4 kB / 0.789 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.5568, allocations: 0 / 0.789 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.5569, allocations: 4 kB / 0.789 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.557, allocations: 0 / 0.789 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.557, allocations: 0 / 0.789 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.557, allocations: 4 kB / 0.789 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.5571, allocations: 4.094 kB / 0.789 GB, free: 9.887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.5572, allocations: 117.8 kB / 0.7891 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.5573, allocations: 3.953 kB / 0.7891 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.5573, allocations: 7.125 kB / 0.7891 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5573, allocations: 0 / 0.7891 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5573, allocations: 3.938 kB / 0.7891 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5574, allocations: 0 / 0.7891 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.5575, allocations: 141.7 kB / 0.7892 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5576, allocations: 7.984 kB / 0.7893 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.5576, allocations: 4 kB / 0.7893 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.5576, allocations: 11.88 kB / 0.7893 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.5576, allocations: 0 / 0.7893 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5576, allocations: 0 / 0.7893 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5576, allocations: 0 / 0.7893 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.894e-05/0.5577, allocations: 57.14 kB / 0.7893 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.5578, allocations: 77.11 kB / 0.7894 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.5579, allocations: 3.953 kB / 0.7894 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.5579, allocations: 8.016 kB / 0.7894 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.5579, allocations: 3.938 kB / 0.7894 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.5579, allocations: 4 kB / 0.7894 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.558, allocations: 75.28 kB / 0.7895 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.558, allocations: 0 / 0.7895 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003663/0.5584, allocations: 0 / 0.7895 GB, free: 9.273 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007186/0.5591, allocations: 0.589 MB / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.5592, allocations: 7.984 kB / 0.7901 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5592, allocations: 0 / 0.7901 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.5593, allocations: 3.938 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.5595, allocations: 7.953 kB / 0.7901 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006573/0.5601, allocations: 100.6 kB / 0.7902 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/0.561, allocations: 0.6809 MB / 0.7908 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.5611, allocations: 0 / 0.7908 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.5611, allocations: 7.438 kB / 0.7908 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.5611, allocations: 0 / 0.7908 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.5838, allocations: 0.6722 MB / 0.7915 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005735/0.5845, allocations: 175.8 kB / 0.7917 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/3.596, allocations: 3.938 kB / 0.7917 GB, free: 6.965 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/linux/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) Environment - environmentSimulation: