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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.001205/0.001205, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 289.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4146, allocations: 86.97 MB / 0.767 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001694/0.4163, allocations: 0.5868 MB / 0.7676 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.873e-05/0.4164, allocations: 0 / 0.7676 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.4164, allocations: 0 / 0.7676 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.4164, allocations: 7.938 kB / 0.7676 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.4164, allocations: 0 / 0.7676 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.686e-05/0.4165, allocations: 4 kB / 0.7676 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.4165, allocations: 4 kB / 0.7676 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.4166, allocations: 3.984 kB / 0.7676 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.4166, allocations: 0 / 0.7676 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.695e-05/0.4166, allocations: 0 / 0.7676 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.4166, allocations: 0 / 0.7676 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-06/0.4166, allocations: 0 / 0.7676 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.4166, allocations: 4 kB / 0.7676 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.4167, allocations: 3.938 kB / 0.7676 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.755e-05/0.4167, allocations: 7.984 kB / 0.7676 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4167, allocations: 0 / 0.7676 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4167, allocations: 0 / 0.7676 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.4167, allocations: 0 / 0.7676 GB, free: 3.223 MB / 0.5294 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.0003081/0.417, allocations: 311.6 kB / 0.7679 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4171, allocations: 8.031 kB / 0.7679 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.4171, allocations: 4.922 kB / 0.7679 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4172, allocations: 160.4 kB / 0.7681 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.4172, allocations: 4.312 kB / 0.7681 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4172, allocations: 4.375 kB / 0.7681 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.949e-05/0.4173, allocations: 30.27 kB / 0.7681 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.4173, allocations: 4.125 kB / 0.7681 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.4173, allocations: 3.938 kB / 0.7681 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4173, allocations: 0 / 0.7681 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.4173, allocations: 4 kB / 0.7681 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.4175, allocations: 153.5 kB / 0.7683 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.277e-05/0.4175, allocations: 14.58 kB / 0.7683 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.4176, allocations: 12.95 kB / 0.7683 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.4176, allocations: 0 / 0.7683 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.4176, allocations: 30.56 kB / 0.7683 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.4176, allocations: 0 / 0.7683 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.4177, allocations: 41.58 kB / 0.7684 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.4178, allocations: 55.41 kB / 0.7684 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.561e-05/0.4178, allocations: 89.86 kB / 0.7685 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.4178, allocations: 29.83 kB / 0.7685 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.4178, allocations: 80.14 kB / 0.7686 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.4179, allocations: 7.938 kB / 0.7686 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.4179, allocations: 9.719 kB / 0.7686 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.418, allocations: 314.8 kB / 0.7689 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.418, allocations: 0 / 0.7689 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.418, allocations: 4 kB / 0.7689 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.4181, allocations: 20.8 kB / 0.769 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4181, allocations: 0 / 0.769 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.184e-05/0.4181, allocations: 29.7 kB / 0.769 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4181, allocations: 4 kB / 0.769 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4181, allocations: 4 kB / 0.769 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4182, allocations: 3.938 kB / 0.769 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.4182, allocations: 3.984 kB / 0.769 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.4182, allocations: 0 / 0.769 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.079e-05/0.4182, allocations: 4 kB / 0.769 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.4182, allocations: 0 / 0.769 GB, free: 1.582 MB / 0.5294 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 7.257e-05/0.4183, allocations: 116.3 kB / 0.7691 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.4183, allocations: 4 kB / 0.7691 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.362e-05/0.4183, allocations: 7.062 kB / 0.7691 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.4183, allocations: 0 / 0.7691 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4183, allocations: 0 / 0.7691 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4183, allocations: 0 / 0.7691 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.4184, allocations: 149.7 kB / 0.7693 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4184, allocations: 0 / 0.7693 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-06/0.4184, allocations: 0 / 0.7693 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4184, allocations: 7.875 kB / 0.7693 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.4184, allocations: 7.938 kB / 0.7693 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4184, allocations: 0 / 0.7693 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4184, allocations: 4 kB / 0.7693 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.4185, allocations: 57.12 kB / 0.7694 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.4186, allocations: 77.11 kB / 0.7694 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.4186, allocations: 3.938 kB / 0.7694 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-06/0.4186, allocations: 3.984 kB / 0.7694 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.4186, allocations: 8.031 kB / 0.7694 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.4186, allocations: 0 / 0.7694 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.4186, allocations: 75.28 kB / 0.7695 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4186, allocations: 0 / 0.7695 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001716/0.4188, allocations: 0 / 0.7695 GB, free: 0.9805 MB / 0.5294 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 9.472e-05/0.4189, allocations: 95.25 kB / 0.7696 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.573e-05/0.419, allocations: 7.938 kB / 0.7696 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.419, allocations: 0 / 0.7696 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.775e-06/0.419, allocations: 8.062 kB / 0.7696 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.4191, allocations: 10.67 kB / 0.7696 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.4193, allocations: 80.56 kB / 0.7697 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.4196, allocations: 0.669 MB / 0.7704 GB, free: 56 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.055e-05/0.4196, allocations: 4 kB / 0.7704 GB, free: 52 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.4197, allocations: 7.438 kB / 0.7704 GB, free: 44 kB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.4197, allocations: 0 / 0.7704 GB, free: 44 kB / 0.5294 GB Notification: Performance of Templates: time 0.002066/0.4217, allocations: 176.9 kB / 0.7705 GB, free: 15.87 MB / 0.545 GB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)