Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.533/1.533, allocations: 287.4 MB / 302.6 MB, free: 8.102 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.001061/0.001061, allocations: 178.5 kB / 371.1 MB, free: 10.81 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.582/1.582, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007537/0.0007537, allocations: 95.84 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.000416, allocations: 10.09 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2212, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001319/0.2226, allocations: 0.9392 MB / 0.9796 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000778/0.2234, allocations: 372 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.2235, allocations: 3.938 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.2236, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.2236, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.2242, allocations: 71.8 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.164e-05/0.2243, allocations: 19.97 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.2243, allocations: 0 / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.2243, allocations: 4 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.953e-05/0.2244, allocations: 15.92 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.2244, allocations: 0 / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.2246, allocations: 79.91 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.2247, allocations: 11.94 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.2247, allocations: 29.7 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.2248, allocations: 55.84 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2249, allocations: 4 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2249, allocations: 0 / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2249, allocations: 0 / 0.9803 GB, free: 26.5 MB / 0.6198 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.0004942/0.2254, allocations: 334.1 kB / 0.9806 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.2255, allocations: 12.03 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.579e-05/0.2255, allocations: 42.64 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.2256, allocations: 0.9375 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/0.2257, allocations: 168.3 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.2257, allocations: 4.375 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.2257, allocations: 4.375 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2259, allocations: 42.23 kB / 0.9809 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2259, allocations: 7.875 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2259, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2259, allocations: 4 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.226, allocations: 8 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.2263, allocations: 245 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.672e-05/0.2264, allocations: 42.48 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.2265, allocations: 16.86 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.2265, allocations: 0 / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.2266, allocations: 67.42 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.2266, allocations: 0 / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002063/0.2268, allocations: 77.53 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2269, allocations: 51.41 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.913e-05/0.2269, allocations: 101.8 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.227, allocations: 25.7 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.227, allocations: 80.27 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.227, allocations: 19.84 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.227, allocations: 0 / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.2271, allocations: 314.8 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.2271, allocations: 15.94 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.2272, allocations: 35.42 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.2272, allocations: 47.38 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2272, allocations: 3.938 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.2273, allocations: 73.52 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2274, allocations: 8 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2274, allocations: 0 / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.2274, allocations: 0 / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.2275, allocations: 8 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2275, allocations: 7.938 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/0.2275, allocations: 12 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2275, allocations: 4 kB / 0.9821 GB, free: 24.41 MB / 0.6198 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 6.03e-05/0.2276, allocations: 113.8 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.2276, allocations: 4 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.2276, allocations: 7.562 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2277, allocations: 0 / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2277, allocations: 0 / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2277, allocations: 0 / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.2279, allocations: 306.5 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2279, allocations: 0 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.2279, allocations: 4 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2279, allocations: 0 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2279, allocations: 320 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2279, allocations: 0 / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.228, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.2281, allocations: 167.4 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.2281, allocations: 81.11 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.2281, allocations: 4 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.2282, allocations: 7.938 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.2282, allocations: 4.078 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.2282, allocations: 7.984 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.948e-05/0.2283, allocations: 79.22 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2283, allocations: 0 / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002893/0.2286, allocations: 35.94 kB / 0.9829 GB, free: 23.5 MB / 0.6198 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.0005573/0.2291, allocations: 0.7533 MB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.2292, allocations: 35.92 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2293, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.2293, allocations: 20.11 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.2295, allocations: 2.391 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.2301, allocations: 409.8 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2302, allocations: 0.677 MB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.2302, allocations: 4 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.2303, allocations: 7.438 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.2303, allocations: 4 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.2431, allocations: 1.676 MB / 0.9864 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.2433, allocations: 247.9 kB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.929, allocations: 2.031 kB / 0.9866 GB, free: 19.68 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)