Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 183.5 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008091/0.000809, allocations: 89.66 kB / 0.6803 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003516, allocations: 8.438 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2283, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001275/0.2296, allocations: 0.9513 MB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.2304, allocations: 432.2 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.2304, allocations: 0 / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.2305, allocations: 3.938 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.08e-05/0.2305, allocations: 0 / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.2309, allocations: 87.78 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.966e-05/0.231, allocations: 12 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.231, allocations: 3.984 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.2311, allocations: 8 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.749e-05/0.2311, allocations: 15.92 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2311, allocations: 0 / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.2313, allocations: 99.84 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.2313, allocations: 7.922 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.2313, allocations: 15.92 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2315, allocations: 60.19 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2315, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2315, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2315, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 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.0003638/0.2319, allocations: 381.1 kB / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2319, allocations: 8.031 kB / 0.8987 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.232, allocations: 4.938 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.62e-05/0.232, allocations: 168.3 kB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.2321, allocations: 4.375 kB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.2321, allocations: 4.375 kB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.294e-05/0.2322, allocations: 39.06 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2322, allocations: 4.172 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2322, allocations: 7.938 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2322, allocations: 4 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.866e-05/0.2323, allocations: 7.984 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.2324, allocations: 153.7 kB / 0.8991 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.2325, allocations: 26.58 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.2325, allocations: 16.94 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.2325, allocations: 3.938 kB / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.2327, allocations: 55.41 kB / 0.8992 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.2327, allocations: 0 / 0.8992 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001764/0.2328, allocations: 69.61 kB / 0.8993 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2329, allocations: 51.41 kB / 0.8993 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.39e-05/0.233, allocations: 109.8 kB / 0.8994 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.233, allocations: 25.7 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.949e-05/0.233, allocations: 84.12 kB / 0.8995 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.233, allocations: 15.84 kB / 0.8996 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.233, allocations: 13.72 kB / 0.8996 GB, free: 65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.2331, allocations: 322.8 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.2331, allocations: 4 kB / 0.8999 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.2332, allocations: 31.42 kB / 0.8999 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.2332, allocations: 55.31 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2332, allocations: 0 / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.889e-05/0.2333, allocations: 65.53 kB / 0.9 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2333, allocations: 7.938 kB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2333, allocations: 3.984 kB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2333, allocations: 4 kB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.2334, allocations: 11.94 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2334, allocations: 4.156 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.2335, allocations: 4.094 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.2335, allocations: 7.938 kB / 0.9001 GB, free: 64.45 MB / 0.6042 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.2335, allocations: 113.8 kB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.2335, allocations: 7.938 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.2336, allocations: 7.484 kB / 0.9002 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2336, allocations: 432 / 0.9002 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2336, allocations: 0 / 0.9002 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2336, allocations: 0 / 0.9002 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.901e-05/0.2337, allocations: 157.6 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2337, allocations: 4 kB / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.2337, allocations: 7.984 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2337, allocations: 3.938 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2337, allocations: 0 / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2337, allocations: 0 / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2337, allocations: 4 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.664e-05/0.2338, allocations: 85.05 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.2339, allocations: 77.11 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2339, allocations: 11.94 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.2339, allocations: 3.984 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.2339, allocations: 4 kB / 0.9005 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2339, allocations: 0 / 0.9005 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.105e-05/0.234, allocations: 83.28 kB / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.234, allocations: 0 / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002194/0.2342, allocations: 31.98 kB / 0.9007 GB, free: 63.76 MB / 0.6042 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 (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.0002797/0.2345, allocations: 164.6 kB / 0.9008 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.677e-05/0.2346, allocations: 27.92 kB / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2346, allocations: 0 / 0.9008 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.2346, allocations: 12 kB / 0.9008 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.2348, allocations: 11.92 kB / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.235, allocations: 144.8 kB / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2351, allocations: 0.6809 MB / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.2351, allocations: 11.44 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2351, allocations: 0 / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.002417/0.2376, allocations: 1.198 MB / 0.9028 GB, free: 61.46 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)