Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.218/2.218, allocations: 252 MB / 267.3 MB, free: 10.85 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.002501/0.002502, allocations: 167.4 kB / 327 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.35/3.35, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.001402/0.001402, allocations: 101.4 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004964, allocations: 9.219 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.345, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001982/0.3471, allocations: 0.9385 MB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3481, allocations: 405 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.3482, allocations: 3.938 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.3482, allocations: 0 / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.3483, allocations: 0 / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.3488, allocations: 75.84 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.3489, allocations: 19.92 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.839e-05/0.349, allocations: 0 / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.116e-05/0.349, allocations: 4 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.3491, allocations: 15.92 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3491, allocations: 0 / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.3493, allocations: 83.91 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.3494, allocations: 11.98 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.3494, allocations: 33.64 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3497, allocations: 79.83 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3497, allocations: 0 / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3497, allocations: 3.938 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3497, allocations: 0 / 0.9025 GB, free: 61.75 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.0004946/0.3502, allocations: 343.5 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.3503, allocations: 12.03 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.821e-05/0.3504, allocations: 34.75 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.3504, allocations: 0.9375 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.3505, allocations: 164.4 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3505, allocations: 384 / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3506, allocations: 384 / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.3507, allocations: 50.17 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3507, allocations: 7.922 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3507, allocations: 0 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3507, allocations: 0 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.3508, allocations: 4 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.3512, allocations: 257.2 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.545e-05/0.3513, allocations: 38.5 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.3513, allocations: 8.859 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3514, allocations: 7.938 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3515, allocations: 63.48 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.963e-06/0.3516, allocations: 0 / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002523/0.3518, allocations: 69.69 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3519, allocations: 55.39 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.352, allocations: 93.86 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.352, allocations: 29.7 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.3521, allocations: 84.2 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3521, allocations: 19.75 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.3521, allocations: 4 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.3522, allocations: 314.8 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.3522, allocations: 8 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.728e-05/0.3523, allocations: 35.42 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.3524, allocations: 51.38 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3524, allocations: 7.938 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001225/0.3525, allocations: 73.55 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3525, allocations: 4 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3525, allocations: 0 / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3526, allocations: 4 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.3527, allocations: 8 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3527, allocations: 3.938 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.3527, allocations: 4.062 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3527, allocations: 4.25 kB / 0.9043 GB, free: 59.67 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 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001005/0.3529, allocations: 125.7 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3529, allocations: 3.906 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.3529, allocations: 3.562 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3529, allocations: 4 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.3529, allocations: 4 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.353, allocations: 0 / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3532, allocations: 306.5 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3533, allocations: 4 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.3533, allocations: 96 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3533, allocations: 3.984 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3533, allocations: 4 kB / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3533, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3533, allocations: 0 / 0.9047 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.3535, allocations: 163.5 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.3535, allocations: 85.05 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3536, allocations: 0 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.3536, allocations: 4 kB / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.3537, allocations: 0 / 0.905 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3537, allocations: 3.984 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.714e-05/0.3537, allocations: 87.22 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3538, allocations: 0 / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003991/0.3542, allocations: 27.94 kB / 0.9051 GB, free: 58.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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000738/0.3549, allocations: 0.7684 MB / 0.9059 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.3551, allocations: 35.92 kB / 0.9059 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3551, allocations: 0 / 0.9059 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.3551, allocations: 16.11 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.3554, allocations: 14.61 kB / 0.9059 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3566, allocations: 1.261 MB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.3567, allocations: 0.681 MB / 0.9078 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.3568, allocations: 0 / 0.9078 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.3568, allocations: 11.44 kB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.3568, allocations: 0 / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.3731, allocations: 1.68 MB / 0.9095 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.3735, allocations: 276.9 kB / 0.9097 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.029, allocations: 0 / 0.9097 GB, free: 53.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)