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 1.403/1.403, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001016/0.001016, allocations: 173.8 kB / 325.8 MB, free: 2.68 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.884/1.884, allocations: 205 MB / 0.576 GB, free: 20.97 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.0009589/0.0009588, allocations: 94.19 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 8.969 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1685, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001251/0.1698, allocations: 0.9433 MB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006726/0.1705, allocations: 416.3 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.1706, allocations: 0 / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1706, allocations: 3.938 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.17e-05/0.1706, allocations: 0 / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.171, allocations: 79.84 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.398e-05/0.171, allocations: 15.92 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.1711, allocations: 4 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.539e-05/0.1711, allocations: 4 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.167e-05/0.1711, allocations: 15.86 kB / 0.8976 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.968e-06/0.1712, allocations: 0 / 0.8976 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1713, allocations: 91.91 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1713, allocations: 3.984 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.1714, allocations: 11.94 kB / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.1715, allocations: 76.11 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1715, allocations: 0 / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1715, allocations: 0 / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.1715, allocations: 0 / 0.8978 GB, free: 66.38 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.0002872/0.1718, allocations: 343.5 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1719, allocations: 15.97 kB / 0.8981 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1719, allocations: 34.75 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.1719, allocations: 4.938 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.886e-05/0.172, allocations: 164.4 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.172, allocations: 384 / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.172, allocations: 4.375 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.969e-05/0.1721, allocations: 46.22 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1721, allocations: 3.938 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.1721, allocations: 4 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1721, allocations: 0 / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.1722, allocations: 7.938 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.1724, allocations: 248.9 kB / 0.8986 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.375e-05/0.1725, allocations: 39.38 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.1725, allocations: 16.86 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.1725, allocations: 0 / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.1726, allocations: 63.42 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1727, allocations: 0 / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001475/0.1728, allocations: 69.69 kB / 0.8988 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.1728, allocations: 59.38 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.828e-05/0.1729, allocations: 97.86 kB / 0.899 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.1729, allocations: 25.7 kB / 0.899 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.417e-05/0.1729, allocations: 84.27 kB / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.1729, allocations: 19.75 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.173, allocations: 21.7 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.173, allocations: 310.8 kB / 0.8994 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.173, allocations: 8 kB / 0.8994 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.1731, allocations: 35.36 kB / 0.8994 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.1731, allocations: 55.38 kB / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1731, allocations: 3.938 kB / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.17e-05/0.1732, allocations: 69.61 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1732, allocations: 8 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1732, allocations: 0 / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1733, allocations: 3.938 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.1733, allocations: 11.98 kB / 0.8996 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1733, allocations: 4 kB / 0.8996 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.1733, allocations: 4.062 kB / 0.8996 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1734, allocations: 8.094 kB / 0.8996 GB, free: 64.27 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 7.032e-05/0.1734, allocations: 117.7 kB / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.1735, allocations: 7.906 kB / 0.8997 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.1735, allocations: 3.562 kB / 0.8997 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1735, allocations: 0 / 0.8997 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1735, allocations: 0 / 0.8997 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1735, allocations: 96 / 0.8997 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1737, allocations: 306.6 kB / 0.9 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1737, allocations: 3.984 kB / 0.9 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.1737, allocations: 7.938 kB / 0.9 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1737, allocations: 0 / 0.9 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1737, allocations: 0 / 0.9 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1737, allocations: 320 / 0.9 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1737, allocations: 3.984 kB / 0.9 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.722e-05/0.1738, allocations: 167.5 kB / 0.9002 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.1739, allocations: 85.11 kB / 0.9003 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1739, allocations: 0 / 0.9003 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.1739, allocations: 0 / 0.9003 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.174, allocations: 7.984 kB / 0.9003 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.174, allocations: 0 / 0.9003 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.174, allocations: 79.28 kB / 0.9004 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.174, allocations: 4 kB / 0.9004 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002495/0.1743, allocations: 31.92 kB / 0.9004 GB, free: 63.36 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.0004846/0.1748, allocations: 0.7652 MB / 0.9011 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.1749, allocations: 35.92 kB / 0.9012 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1749, allocations: 128 / 0.9012 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.694e-05/0.1749, allocations: 16 kB / 0.9012 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.1751, allocations: 4 kB / 0.9012 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.1758, allocations: 1.256 MB / 0.9024 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.514e-05/0.1759, allocations: 0.681 MB / 0.9031 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.176, allocations: 4 kB / 0.9031 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.176, allocations: 15.42 kB / 0.9031 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.176, allocations: 0 / 0.9031 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.1862, allocations: 1.68 MB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.1863, allocations: 271.9 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.657, allocations: 0 / 0.905 GB, free: 58.57 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)