Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.975/0.975, allocations: 143.4 MB / 159.2 MB, free: 4.898 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 188.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 447.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 111.5 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 277.7 kB / 0.5973 GB, free: 49.4 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 83.88 kB / 0.6885 GB, free: 3.871 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4263, allocations: 81.3 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001821/0.4282, allocations: 0.6566 MB / 0.7686 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 4.007e-05/0.4283, allocations: 0 / 0.7686 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.4283, allocations: 0 / 0.7686 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.4283, allocations: 0 / 0.7686 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.199e-06/0.4283, allocations: 0 / 0.7686 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.268e-05/0.4284, allocations: 4 kB / 0.7686 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.4284, allocations: 8 kB / 0.7686 GB, free: 27.03 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.4285, allocations: 0 / 0.7686 GB, free: 27.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.4285, allocations: 0 / 0.7686 GB, free: 27.03 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.869e-05/0.4285, allocations: 0 / 0.7686 GB, free: 27.03 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.4286, allocations: 0 / 0.7686 GB, free: 27.03 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.4286, allocations: 0 / 0.7686 GB, free: 27.03 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.4286, allocations: 0 / 0.7686 GB, free: 27.03 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.4286, allocations: 7.984 kB / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 5.268e-05/0.4287, allocations: 3.984 kB / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.871e-05/0.4287, allocations: 0 / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4287, allocations: 0 / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.4287, allocations: 4 kB / 0.7686 GB, free: 27.01 MB / 458.7 MB 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.0002688/0.429, allocations: 313.7 kB / 0.7689 GB, free: 26.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.429, allocations: 8.031 kB / 0.7689 GB, free: 26.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.4291, allocations: 0.9375 kB / 0.7689 GB, free: 26.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.471e-05/0.4292, allocations: 168.3 kB / 0.7691 GB, free: 26.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4292, allocations: 4.312 kB / 0.7691 GB, free: 26.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.4292, allocations: 4.375 kB / 0.7691 GB, free: 26.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.4293, allocations: 26.27 kB / 0.7691 GB, free: 26.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4293, allocations: 4.188 kB / 0.7691 GB, free: 26.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.4293, allocations: 3.938 kB / 0.7691 GB, free: 26.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4293, allocations: 0 / 0.7691 GB, free: 26.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.866e-05/0.4294, allocations: 4 kB / 0.7691 GB, free: 26.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.4295, allocations: 149.7 kB / 0.7693 GB, free: 26.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.046e-05/0.4295, allocations: 18.52 kB / 0.7693 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.4296, allocations: 8.953 kB / 0.7693 GB, free: 26.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.4296, allocations: 3.984 kB / 0.7693 GB, free: 26.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.4296, allocations: 34.56 kB / 0.7693 GB, free: 26.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4296, allocations: 0 / 0.7693 GB, free: 26.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001532/0.4298, allocations: 41.62 kB / 0.7694 GB, free: 26.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.4298, allocations: 59.34 kB / 0.7694 GB, free: 26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.356e-05/0.4298, allocations: 93.8 kB / 0.7695 GB, free: 25.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.4299, allocations: 25.7 kB / 0.7695 GB, free: 25.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.529e-05/0.4299, allocations: 80.14 kB / 0.7696 GB, free: 25.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.4299, allocations: 6.797 kB / 0.7696 GB, free: 25.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.4299, allocations: 9.719 kB / 0.7696 GB, free: 25.76 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.43, allocations: 314.8 kB / 0.7699 GB, free: 25.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.43, allocations: 3.984 kB / 0.7699 GB, free: 25.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.43, allocations: 4 kB / 0.7699 GB, free: 25.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.4301, allocations: 8.859 kB / 0.7699 GB, free: 25.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4301, allocations: 0 / 0.7699 GB, free: 25.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.822e-05/0.4301, allocations: 29.8 kB / 0.77 GB, free: 25.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.4301, allocations: 8 kB / 0.77 GB, free: 25.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4302, allocations: 4 kB / 0.77 GB, free: 25.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4302, allocations: 3.938 kB / 0.77 GB, free: 25.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.4302, allocations: 3.938 kB / 0.77 GB, free: 25.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4302, allocations: 0 / 0.77 GB, free: 25.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.4303, allocations: 0 / 0.77 GB, free: 25.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.4303, allocations: 0 / 0.77 GB, free: 25.37 MB / 458.7 MB 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 4.92e-05/0.4303, allocations: 115.1 kB / 0.7701 GB, free: 25.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.4303, allocations: 4 kB / 0.7701 GB, free: 25.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.765e-05/0.4304, allocations: 11.06 kB / 0.7701 GB, free: 25.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.4304, allocations: 3.938 kB / 0.7701 GB, free: 25.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4304, allocations: 0 / 0.7701 GB, free: 25.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4304, allocations: 0 / 0.7701 GB, free: 25.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.207e-05/0.4304, allocations: 149.6 kB / 0.7703 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.4305, allocations: 0 / 0.7703 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-06/0.4305, allocations: 3.984 kB / 0.7703 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.4305, allocations: 0 / 0.7703 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4305, allocations: 3.938 kB / 0.7703 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.4305, allocations: 0 / 0.7703 GB, free: 25.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4305, allocations: 8 kB / 0.7703 GB, free: 25.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.4307, allocations: 0.5966 MB / 0.7708 GB, free: 24.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.4308, allocations: 77.11 kB / 0.7709 GB, free: 24.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4308, allocations: 0 / 0.7709 GB, free: 24.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-06/0.4308, allocations: 4 kB / 0.7709 GB, free: 24.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.4308, allocations: 4 kB / 0.7709 GB, free: 24.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.4308, allocations: 4.031 kB / 0.7709 GB, free: 24.26 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.3e-05/0.4309, allocations: 75.28 kB / 0.771 GB, free: 24.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4309, allocations: 0 / 0.771 GB, free: 24.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.4312, allocations: 0 / 0.771 GB, free: 24.19 MB / 458.7 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 (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.0001015/0.4313, allocations: 99.77 kB / 0.7711 GB, free: 24.08 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.079e-05/0.4314, allocations: 11.88 kB / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4314, allocations: 0 / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.409e-06/0.4314, allocations: 4.062 kB / 0.7711 GB, free: 24.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.4315, allocations: 9.062 kB / 0.7711 GB, free: 24.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.4317, allocations: 177.7 kB / 0.7713 GB, free: 23.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.4319, allocations: 0.677 MB / 0.772 GB, free: 23.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.73e-05/0.4319, allocations: 0 / 0.772 GB, free: 23.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.4319, allocations: 7.438 kB / 0.772 GB, free: 23.13 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.432, allocations: 0 / 0.772 GB, free: 23.13 MB / 458.7 MB Notification: Performance of Templates: time 0.001784/0.4337, allocations: 168.9 kB / 0.7721 GB, free: 22.96 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)