Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.855/1.855, allocations: 288.4 MB / 303.4 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 186.8 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007498/0.00075, allocations: 93.25 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004269, allocations: 16.06 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3098, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00185/0.3117, allocations: 0.9355 MB / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.3127, allocations: 388.8 kB / 0.9809 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.3128, allocations: 0 / 0.9809 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.3128, allocations: 0 / 0.9809 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.3129, allocations: 0 / 0.9809 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.3135, allocations: 87.78 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.3136, allocations: 15.94 kB / 0.981 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.3137, allocations: 3.984 kB / 0.981 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.774e-05/0.3137, allocations: 4 kB / 0.981 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.3138, allocations: 19.86 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3138, allocations: 3.938 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.314, allocations: 91.84 kB / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.3141, allocations: 7.984 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.3141, allocations: 25.7 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.3143, allocations: 63.91 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3143, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3143, allocations: 4 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3143, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB 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.0004832/0.3148, allocations: 381.2 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3149, allocations: 12.02 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.3149, allocations: 0 / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.315, allocations: 167 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.3151, allocations: 0 / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.3151, allocations: 0 / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3152, allocations: 57.59 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3153, allocations: 0 / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3153, allocations: 0 / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3153, allocations: 0 / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.3154, allocations: 8 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.3155, allocations: 157.6 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.356e-05/0.3156, allocations: 34.55 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.3157, allocations: 8.859 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3157, allocations: 4 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.3159, allocations: 59.42 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.3159, allocations: 0 / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002395/0.3161, allocations: 65.59 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.3162, allocations: 59.39 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.3162, allocations: 97.86 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.3163, allocations: 25.7 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.3163, allocations: 88.14 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.3163, allocations: 15.83 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.3163, allocations: 0 / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.3164, allocations: 314.8 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.3164, allocations: 7.984 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.3165, allocations: 35.42 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.3165, allocations: 16 kB / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3166, allocations: 3.953 kB / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001354/0.3167, allocations: 61.62 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3167, allocations: 9.719 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3168, allocations: 3.984 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3168, allocations: 0 / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.3169, allocations: 15.88 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.3169, allocations: 0 / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.3169, allocations: 15.94 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.317, allocations: 0 / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.269e-05/0.317, allocations: 113.8 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.3171, allocations: 7.953 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.3171, allocations: 7.484 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3171, allocations: 432 / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3171, allocations: 0 / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3171, allocations: 0 / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3173, allocations: 153.7 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3173, allocations: 4 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.3173, allocations: 7.953 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3173, allocations: 7.922 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.3173, allocations: 3.938 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3173, allocations: 0 / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3173, allocations: 0 / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.3175, allocations: 85.11 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.3175, allocations: 81.02 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3176, allocations: 7.953 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.082e-05/0.3176, allocations: 3.984 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.3176, allocations: 8 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.3177, allocations: 0 / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.623e-05/0.3177, allocations: 79.28 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3177, allocations: 0 / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000393/0.3181, allocations: 35.98 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004129/0.3185, allocations: 158.6 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.3187, allocations: 27.92 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3187, allocations: 0 / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.3188, allocations: 15.94 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.319, allocations: 5.016 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.3193, allocations: 120.8 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3195, allocations: 0.6735 MB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.3195, allocations: 7.984 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.3195, allocations: 7.438 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.3195, allocations: 0 / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.004439/0.324, allocations: 1.007 MB / 0.9854 GB, free: 21.32 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)