Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001815/0.001815, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 64.77 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.376, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002359/0.3784, allocations: 1.264 MB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.3793, allocations: 413 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.3793, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.3793, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.3794, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.3799, allocations: 79.78 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.051e-05/0.38, allocations: 15.88 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.38, allocations: 7.984 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.38, allocations: 4 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.3801, allocations: 7.984 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.3801, allocations: 4 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.3803, allocations: 91.84 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.3803, allocations: 7.922 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.3803, allocations: 4 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3805, allocations: 83.83 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3805, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3805, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3805, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 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.0004372/0.381, allocations: 343.5 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.381, allocations: 12.03 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.381, allocations: 0.9375 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3812, allocations: 164.6 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3812, allocations: 8.375 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.3812, allocations: 4.375 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3813, allocations: 38.23 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3813, allocations: 4.188 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3813, allocations: 3.938 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3814, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.3814, allocations: 4 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.3815, allocations: 153.6 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.3816, allocations: 38.55 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.3817, allocations: 12.86 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.3817, allocations: 0 / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.3818, allocations: 63.42 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3818, allocations: 0 / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.382, allocations: 77.53 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3821, allocations: 55.41 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.3821, allocations: 97.84 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3822, allocations: 29.7 kB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.3822, allocations: 80.14 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.3822, allocations: 3.906 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3823, allocations: 25.7 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3824, allocations: 314.8 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.3824, allocations: 4.125 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.3825, allocations: 39.42 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/0.3825, allocations: 47.38 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3825, allocations: 0 / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001003/0.3826, allocations: 77.47 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3827, allocations: 11.88 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3827, allocations: 7.984 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3827, allocations: 0 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.3828, allocations: 8 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3828, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.364e-05/0.3828, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3828, allocations: 4 kB / 1.071 GB, free: 6.926 MB / 0.8262 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 7.254e-05/0.3829, allocations: 113.8 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.3829, allocations: 8.031 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.3829, allocations: 7.484 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3829, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3829, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.383, allocations: 4 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.3831, allocations: 153.7 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3831, allocations: 0 / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.3831, allocations: 3.938 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3831, allocations: 3.938 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3831, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3831, allocations: 8 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3831, allocations: 0 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.3833, allocations: 88.95 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3833, allocations: 81.05 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.3833, allocations: 7.938 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/0.3834, allocations: 4 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.3834, allocations: 3.984 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3834, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.3835, allocations: 87.28 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3835, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002742/0.3838, allocations: 28 kB / 1.072 GB, free: 6.234 MB / 0.8262 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.000407/0.3842, allocations: 168.3 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.3843, allocations: 28.08 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3843, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.3844, allocations: 19.92 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.3845, allocations: 7 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.3848, allocations: 102.7 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3852, allocations: 0.677 MB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.3852, allocations: 8.188 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.3852, allocations: 7.438 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3853, allocations: 0 / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of Templates: time 0.003979/0.3892, allocations: 0.9496 MB / 1.074 GB, free: 4.23 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)