Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 192.4 kB / 16.64 MB, free: 6.594 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.69/1.69, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6319/0.6319, allocations: 95.49 MB / 365.3 MB, free: 9.824 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 67.91 kB / 446.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3221, allocations: 69.08 MB / 0.5031 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002557/0.3247, allocations: 1.398 MB / 0.5045 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002457/0.3249, allocations: 72.33 kB / 0.5046 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.325, allocations: 4 kB / 0.5046 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.325, allocations: 3.938 kB / 0.5046 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.3251, allocations: 7.938 kB / 0.5046 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.3253, allocations: 15.97 kB / 0.5046 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.136e-05/0.3254, allocations: 23.92 kB / 0.5046 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3255, allocations: 11.98 kB / 0.5046 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.3255, allocations: 7.984 kB / 0.5046 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.3256, allocations: 15.92 kB / 0.5046 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3256, allocations: 0 / 0.5046 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.3257, allocations: 23.98 kB / 0.5047 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.3257, allocations: 3.938 kB / 0.5047 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.3257, allocations: 7.938 kB / 0.5047 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.3258, allocations: 43.88 kB / 0.5047 GB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3258, allocations: 0 / 0.5047 GB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3258, allocations: 0 / 0.5047 GB, free: 15.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3258, allocations: 0 / 0.5047 GB, free: 15.69 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003627/0.3262, allocations: 345.1 kB / 0.5051 GB, free: 15.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3263, allocations: 11.98 kB / 0.5051 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.3264, allocations: 20.83 kB / 0.5051 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.23e-05/0.3265, allocations: 164.3 kB / 0.5052 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3265, allocations: 4.312 kB / 0.5052 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3266, allocations: 15.92 kB / 0.5053 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3267, allocations: 53.67 kB / 0.5053 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3268, allocations: 0 / 0.5053 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3268, allocations: 4 kB / 0.5053 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3268, allocations: 0 / 0.5053 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.327, allocations: 55.94 kB / 0.5054 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.3273, allocations: 256.9 kB / 0.5056 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.3274, allocations: 50.48 kB / 0.5057 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.3275, allocations: 40.89 kB / 0.5057 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3276, allocations: 4 kB / 0.5057 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.3276, allocations: 30.56 kB / 0.5057 GB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3276, allocations: 0 / 0.5057 GB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003673/0.328, allocations: 105.6 kB / 0.5058 GB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.328, allocations: 55.34 kB / 0.5059 GB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.3281, allocations: 105.8 kB / 0.506 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3281, allocations: 29.7 kB / 0.506 GB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.3281, allocations: 80.14 kB / 0.5061 GB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.3282, allocations: 3.906 kB / 0.5061 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.3282, allocations: 21.7 kB / 0.5061 GB, free: 14.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.3282, allocations: 314.8 kB / 0.5064 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.3283, allocations: 32 kB / 0.5064 GB, free: 13.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.3284, allocations: 19.98 kB / 0.5065 GB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3286, allocations: 48.81 kB / 0.5065 GB, free: 13.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3286, allocations: 4 kB / 0.5065 GB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.3288, allocations: 81.64 kB / 0.5066 GB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3288, allocations: 4 kB / 0.5066 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3288, allocations: 7.938 kB / 0.5066 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3288, allocations: 0 / 0.5066 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.329, allocations: 11.98 kB / 0.5066 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.329, allocations: 0 / 0.5066 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.157e-05/0.329, allocations: 16.02 kB / 0.5066 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.329, allocations: 0 / 0.5066 GB, free: 13.52 MB / 382.1 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 (2): * Single equations (assignments): 2 * 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.878e-05/0.3291, allocations: 113.8 kB / 0.5067 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3291, allocations: 3.906 kB / 0.5067 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.3292, allocations: 11.48 kB / 0.5068 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3292, allocations: 0 / 0.5068 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3292, allocations: 0 / 0.5068 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3292, allocations: 4 kB / 0.5068 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.3293, allocations: 169.6 kB / 0.5069 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3293, allocations: 0 / 0.5069 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.3294, allocations: 15.98 kB / 0.5069 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3294, allocations: 3.938 kB / 0.5069 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3294, allocations: 0 / 0.5069 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3294, allocations: 256 / 0.5069 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3294, allocations: 4 kB / 0.5069 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.3296, allocations: 179.4 kB / 0.5071 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.3297, allocations: 97.02 kB / 0.5072 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.3297, allocations: 0 / 0.5072 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.3298, allocations: 7.984 kB / 0.5072 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.3298, allocations: 0 / 0.5072 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3298, allocations: 4 kB / 0.5072 GB, free: 12.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.448e-05/0.3299, allocations: 83.28 kB / 0.5073 GB, free: 12.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3299, allocations: 0 / 0.5073 GB, free: 12.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.3301, allocations: 7.938 kB / 0.5073 GB, free: 12.73 MB / 382.1 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 (2): * Single equations (assignments): 2 * 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 8.942e-05/0.3302, allocations: 103.3 kB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.3304, allocations: 47.95 kB / 0.5075 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3304, allocations: 0 / 0.5075 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.438e-05/0.3305, allocations: 31.91 kB / 0.5075 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3308, allocations: 10.31 kB / 0.5075 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.3312, allocations: 125.4 kB / 0.5076 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.3313, allocations: 0.6768 MB / 0.5083 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.315e-05/0.3314, allocations: 4 kB / 0.5083 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.3314, allocations: 15.38 kB / 0.5083 GB, free: 11.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3314, allocations: 4 kB / 0.5083 GB, free: 11.66 MB / 382.1 MB Notification: Performance of Templates: time 0.002472/0.3339, allocations: 0.5664 MB / 0.5088 GB, free: 11.09 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)