Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.4 MB / 303.6 MB, free: 8.883 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.001019/0.001019, allocations: 172.5 kB / 372.3 MB, free: 6.43 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.383/1.383, allocations: 205.4 MB / 0.631 GB, free: 13.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008057/0.0008057, allocations: 89.97 kB / 0.7443 GB, free: 64.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004873, allocations: 19.98 kB / 0.8676 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2129, allocations: 115.3 MB / 0.9802 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001242/0.2142, allocations: 0.9392 MB / 0.9811 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.2149, allocations: 375.8 kB / 0.9814 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.215, allocations: 0 / 0.9814 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.073e-05/0.215, allocations: 0 / 0.9814 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.273e-05/0.215, allocations: 0 / 0.9814 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.2155, allocations: 79.8 kB / 0.9815 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.169e-05/0.2155, allocations: 11.98 kB / 0.9815 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.2156, allocations: 3.984 kB / 0.9815 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.2156, allocations: 8 kB / 0.9815 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.84e-05/0.2157, allocations: 11.92 kB / 0.9816 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.2157, allocations: 0 / 0.9816 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.2159, allocations: 79.91 kB / 0.9816 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.2159, allocations: 3.938 kB / 0.9816 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.2159, allocations: 29.7 kB / 0.9817 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.2161, allocations: 59.91 kB / 0.9817 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2161, allocations: 4 kB / 0.9817 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2161, allocations: 0 / 0.9817 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2161, allocations: 0 / 0.9817 GB, free: 11.41 MB / 0.7136 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.00039/0.2165, allocations: 343.7 kB / 0.9821 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2165, allocations: 12.02 kB / 0.9821 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.2166, allocations: 34.75 kB / 0.9821 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.2166, allocations: 0.9375 kB / 0.9821 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/0.2167, allocations: 172.2 kB / 0.9823 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2168, allocations: 8.375 kB / 0.9823 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2168, allocations: 384 / 0.9823 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.2169, allocations: 50.22 kB / 0.9823 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2169, allocations: 3.938 kB / 0.9823 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.2169, allocations: 0 / 0.9823 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2169, allocations: 0 / 0.9823 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.217, allocations: 4 kB / 0.9823 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.2173, allocations: 245 kB / 0.9826 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.773e-05/0.2174, allocations: 46.44 kB / 0.9826 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.2174, allocations: 8.859 kB / 0.9826 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.2174, allocations: 0 / 0.9826 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.2176, allocations: 71.42 kB / 0.9827 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2176, allocations: 0 / 0.9827 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001802/0.2178, allocations: 77.53 kB / 0.9828 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.2178, allocations: 55.41 kB / 0.9828 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.2179, allocations: 93.84 kB / 0.9829 GB, free: 10 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2179, allocations: 33.7 kB / 0.9829 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.2179, allocations: 80.14 kB / 0.983 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.218, allocations: 7.812 kB / 0.983 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.218, allocations: 8 kB / 0.983 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2181, allocations: 315 kB / 0.9833 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.2181, allocations: 8 kB / 0.9833 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.2182, allocations: 35.42 kB / 0.9834 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.995e-05/0.2182, allocations: 47.38 kB / 0.9834 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2182, allocations: 3.938 kB / 0.9834 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001031/0.2183, allocations: 77.61 kB / 0.9835 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2184, allocations: 4 kB / 0.9835 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2184, allocations: 0 / 0.9835 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.2184, allocations: 11.88 kB / 0.9835 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.2185, allocations: 8 kB / 0.9835 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2185, allocations: 0 / 0.9835 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.2185, allocations: 7.938 kB / 0.9835 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2185, allocations: 0 / 0.9835 GB, free: 9.316 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/0.2186, allocations: 121.8 kB / 0.9836 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.2186, allocations: 4.062 kB / 0.9836 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.2186, allocations: 3.562 kB / 0.9836 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2187, allocations: 4 kB / 0.9836 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2187, allocations: 0 / 0.9836 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2187, allocations: 96 / 0.9836 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.2189, allocations: 306.4 kB / 0.9839 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2189, allocations: 7.984 kB / 0.9839 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.219, allocations: 0 / 0.9839 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.219, allocations: 0 / 0.9839 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.219, allocations: 8 kB / 0.984 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.219, allocations: 0 / 0.984 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.219, allocations: 0 / 0.984 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.2191, allocations: 167.7 kB / 0.9841 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.2192, allocations: 77.11 kB / 0.9842 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2192, allocations: 4.062 kB / 0.9842 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.2193, allocations: 7.938 kB / 0.9842 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.2193, allocations: 0 / 0.9842 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2193, allocations: 7.984 kB / 0.9842 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.2193, allocations: 83.28 kB / 0.9843 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2193, allocations: 0 / 0.9843 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002632/0.2196, allocations: 27.94 kB / 0.9843 GB, free: 8.398 MB / 0.7136 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 (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.0006461/0.2203, allocations: 0.766 MB / 0.9851 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.456e-05/0.2204, allocations: 35.92 kB / 0.9851 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2204, allocations: 0 / 0.9851 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.2204, allocations: 19.92 kB / 0.9851 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.2206, allocations: 4 kB / 0.9851 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.2212, allocations: 405 kB / 0.9855 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.2214, allocations: 0.6809 MB / 0.9862 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.2215, allocations: 8.062 kB / 0.9862 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.2215, allocations: 11.44 kB / 0.9862 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.2215, allocations: 0 / 0.9862 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.234, allocations: 1.676 MB / 0.9878 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.2342, allocations: 268.7 kB / 0.9881 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.729, allocations: 0 / 0.9881 GB, free: 4.492 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)