Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 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.001622/0.001623, allocations: 194 kB / 16.53 MB, free: 6.391 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 61.95 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3082, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002142/0.3104, allocations: 1.207 MB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.3112, allocations: 408.9 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.3112, allocations: 4 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.3112, allocations: 0 / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.313e-05/0.3113, allocations: 3.938 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.3117, allocations: 87.7 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.3118, allocations: 23.92 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.3118, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.901e-05/0.3119, allocations: 7.938 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.737e-05/0.3119, allocations: 11.98 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3119, allocations: 4 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.3121, allocations: 87.91 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.3121, allocations: 7.969 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.3122, allocations: 3.938 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.3123, allocations: 87.83 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3123, allocations: 3.938 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3123, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3123, allocations: 0 / 1.07 GB, free: 8.562 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.0004031/0.3127, allocations: 339.6 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.3128, allocations: 12.03 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.3128, allocations: 4.922 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/0.3129, allocations: 164.6 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3129, allocations: 8.375 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.313, allocations: 384 / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.3131, allocations: 38.25 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3131, allocations: 192 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3131, allocations: 3.938 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3131, allocations: 3.984 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.861e-05/0.3131, allocations: 19.92 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.3133, allocations: 161.6 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.093e-05/0.3134, allocations: 22.58 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.3134, allocations: 16.94 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.3134, allocations: 0 / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.3136, allocations: 63.34 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3136, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001821/0.3138, allocations: 69.61 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3138, allocations: 51.41 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.988e-05/0.3139, allocations: 97.86 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.3139, allocations: 29.64 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.3139, allocations: 84.12 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3139, allocations: 3.906 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.314, allocations: 29.84 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.3141, allocations: 310.8 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.3141, allocations: 11.92 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.3141, allocations: 35.38 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.116e-05/0.3142, allocations: 47.42 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3142, allocations: 0 / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.824e-05/0.3143, allocations: 73.47 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3143, allocations: 7.938 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3143, allocations: 4 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3144, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.3144, allocations: 11.98 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3145, allocations: 0 / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.3145, allocations: 0 / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3145, allocations: 8.094 kB / 1.072 GB, free: 6.613 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.038e-05/0.3146, allocations: 118.3 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.3146, allocations: 3.938 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.3146, allocations: 3.5 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3146, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3146, allocations: 4 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3146, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.3147, allocations: 153.7 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3148, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.3148, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3148, allocations: 7.922 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3148, allocations: 4 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3148, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3148, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.3149, allocations: 89.23 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.315, allocations: 77.11 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.315, allocations: 15.88 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.315, allocations: 8 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.315, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.315, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.3151, allocations: 83.27 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3151, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002394/0.3153, allocations: 28 kB / 1.072 GB, free: 5.926 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.0002904/0.3156, allocations: 161.2 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.806e-05/0.3157, allocations: 27.92 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3157, allocations: 0 / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.3158, allocations: 12 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.3159, allocations: 9.703 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.3161, allocations: 100.9 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.3163, allocations: 0.6808 MB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.3164, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.3164, allocations: 11.44 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3164, allocations: 0 / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of Templates: time 0.003065/0.3194, allocations: 0.9719 MB / 1.074 GB, free: 3.906 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)