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.008158/0.008159, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001829/0.001829, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 296.1 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9489/0.9489, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 95.84 kB / 0.6814 GB, free: 7.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4066, allocations: 86.97 MB / 0.7663 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001614/0.4083, allocations: 0.5865 MB / 0.7669 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.34e-05/0.4083, allocations: 4 kB / 0.7669 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.67e-05/0.4084, allocations: 4 kB / 0.7669 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.4084, allocations: 0 / 0.7669 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.4084, allocations: 0 / 0.7669 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.889e-05/0.4085, allocations: 0 / 0.7669 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.182e-05/0.4085, allocations: 4 kB / 0.7669 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.4086, allocations: 0 / 0.7669 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.4086, allocations: 4 kB / 0.7669 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.578e-05/0.4086, allocations: 3.938 kB / 0.7669 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.4086, allocations: 0 / 0.7669 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-06/0.4086, allocations: 4 kB / 0.7669 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.4086, allocations: 3.984 kB / 0.7669 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.4087, allocations: 11.86 kB / 0.767 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.561e-05/0.4087, allocations: 0 / 0.767 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4087, allocations: 0 / 0.767 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4087, allocations: 0 / 0.767 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.4087, allocations: 0 / 0.767 GB, free: 3.391 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.000242/0.409, allocations: 311.6 kB / 0.7673 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.409, allocations: 12.06 kB / 0.7673 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.4091, allocations: 0.9375 kB / 0.7673 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.646e-05/0.4092, allocations: 168.4 kB / 0.7674 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.4092, allocations: 384 / 0.7674 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.4092, allocations: 384 / 0.7674 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.39e-05/0.4093, allocations: 26.27 kB / 0.7675 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4093, allocations: 4.188 kB / 0.7675 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.4093, allocations: 3.938 kB / 0.7675 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4093, allocations: 0 / 0.7675 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.4093, allocations: 3.938 kB / 0.7675 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.4095, allocations: 149.7 kB / 0.7676 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.4095, allocations: 22.61 kB / 0.7676 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.4096, allocations: 8.844 kB / 0.7676 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.4096, allocations: 4.062 kB / 0.7676 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.4096, allocations: 30.56 kB / 0.7677 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4096, allocations: 0 / 0.7677 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001082/0.4097, allocations: 45.56 kB / 0.7677 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.4097, allocations: 55.53 kB / 0.7678 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.818e-05/0.4098, allocations: 89.86 kB / 0.7679 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.4098, allocations: 25.7 kB / 0.7679 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.4098, allocations: 80.14 kB / 0.768 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.4099, allocations: 11.56 kB / 0.768 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.4099, allocations: 13.66 kB / 0.768 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.41, allocations: 314.8 kB / 0.7683 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-06/0.41, allocations: 0 / 0.7683 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-06/0.41, allocations: 8 kB / 0.7683 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.192e-05/0.4101, allocations: 8.859 kB / 0.7683 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4101, allocations: 0 / 0.7683 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.9e-05/0.4101, allocations: 37.64 kB / 0.7683 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4101, allocations: 4 kB / 0.7683 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4101, allocations: 0 / 0.7683 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4102, allocations: 3.938 kB / 0.7683 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.4102, allocations: 7.938 kB / 0.7683 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4102, allocations: 0 / 0.7683 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-06/0.4102, allocations: 4.094 kB / 0.7684 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.4102, allocations: 3.984 kB / 0.7684 GB, free: 1.738 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 5.937e-05/0.4103, allocations: 105.8 kB / 0.7685 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-06/0.4103, allocations: 0 / 0.7685 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.4103, allocations: 15.06 kB / 0.7685 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.4103, allocations: 0 / 0.7685 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4104, allocations: 0 / 0.7685 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.4104, allocations: 0 / 0.7685 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.377e-05/0.4104, allocations: 145.7 kB / 0.7686 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4104, allocations: 4 kB / 0.7686 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.4105, allocations: 4 kB / 0.7686 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4105, allocations: 0 / 0.7686 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.4105, allocations: 3.938 kB / 0.7686 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4105, allocations: 0 / 0.7686 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4105, allocations: 0 / 0.7686 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/0.4106, allocations: 61.08 kB / 0.7687 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.4106, allocations: 81.09 kB / 0.7688 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.4106, allocations: 7.969 kB / 0.7688 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-06/0.4106, allocations: 0 / 0.7688 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.4106, allocations: 0 / 0.7688 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.4106, allocations: 4 kB / 0.7688 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.423e-05/0.4107, allocations: 75.28 kB / 0.7688 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4107, allocations: 0 / 0.7688 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001785/0.4109, allocations: 4 kB / 0.7688 GB, free: 1.145 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 7.721e-05/0.4109, allocations: 95.19 kB / 0.7689 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.743e-05/0.411, allocations: 8 kB / 0.7689 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.411, allocations: 0 / 0.7689 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.411, allocations: 7.938 kB / 0.7689 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.4111, allocations: 7.938 kB / 0.769 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001598/0.4113, allocations: 81.06 kB / 0.769 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.4115, allocations: 0.669 MB / 0.7697 GB, free: 220 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.538e-06/0.4115, allocations: 0 / 0.7697 GB, free: 220 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.4115, allocations: 7.438 kB / 0.7697 GB, free: 212 kB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.4116, allocations: 4.125 kB / 0.7697 GB, free: 208 kB / 0.5294 GB Notification: Performance of Templates: time 0.001683/0.4132, allocations: 168.1 kB / 0.7699 GB, free: 44 kB / 0.5294 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)