Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.371/1.371, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009614/0.0009616, allocations: 178.5 kB / 325.8 MB, free: 2.688 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.784/1.784, allocations: 205 MB / 0.576 GB, free: 21.04 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.00069/0.0006901, allocations: 92 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 12.28 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1878, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00105/0.1889, allocations: 0.9589 MB / 0.8971 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000648/0.1895, allocations: 433.1 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.1896, allocations: 0 / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.1896, allocations: 3.938 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.1896, allocations: 4 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.19, allocations: 83.8 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.084e-05/0.1901, allocations: 15.98 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.1901, allocations: 4 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.823e-05/0.1901, allocations: 7.984 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.1902, allocations: 7.938 kB / 0.8977 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1902, allocations: 4 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1903, allocations: 103.8 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.1904, allocations: 0 / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.1904, allocations: 11.94 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1905, allocations: 108 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1905, allocations: 0 / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1905, allocations: 0 / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.1905, allocations: 0 / 0.8979 GB, free: 66.36 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.0003438/0.1909, allocations: 361.3 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1909, allocations: 8.031 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.191, allocations: 42.67 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.191, allocations: 4.844 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.803e-05/0.1911, allocations: 160.4 kB / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1911, allocations: 8.375 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1911, allocations: 8.312 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.1912, allocations: 42.23 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1913, allocations: 3.938 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1913, allocations: 0 / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1913, allocations: 0 / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.97e-05/0.1913, allocations: 11.98 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.1915, allocations: 252.9 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.1916, allocations: 38.5 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.1917, allocations: 16.86 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.1917, allocations: 0 / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.1918, allocations: 63.47 kB / 0.8988 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1918, allocations: 4 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001634/0.192, allocations: 85.52 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.192, allocations: 51.41 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.246e-05/0.192, allocations: 97.86 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.1921, allocations: 25.7 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.573e-05/0.1921, allocations: 88.12 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.1921, allocations: 7.906 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.1921, allocations: 13.72 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.1922, allocations: 322.8 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.1922, allocations: 8 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/0.1922, allocations: 35.42 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.1923, allocations: 43.38 kB / 0.8996 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1923, allocations: 3.938 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.084e-05/0.1924, allocations: 89.45 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.1924, allocations: 4 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1924, allocations: 0 / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1924, allocations: 4 kB / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.066e-05/0.1925, allocations: 8 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1925, allocations: 3.938 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.1925, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1925, allocations: 4 kB / 0.8997 GB, free: 64.21 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 4.922e-05/0.1926, allocations: 125.8 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.1926, allocations: 3.984 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.1926, allocations: 3.562 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1926, allocations: 4.281 kB / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1926, allocations: 3.938 kB / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1926, allocations: 0 / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.1928, allocations: 302.5 kB / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1928, allocations: 3.984 kB / 0.9001 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.1928, allocations: 4 kB / 0.9001 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1928, allocations: 4 kB / 0.9001 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1928, allocations: 4 kB / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1928, allocations: 160 / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1929, allocations: 0 / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.401e-05/0.193, allocations: 163.4 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.193, allocations: 81.05 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.193, allocations: 8 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.193, allocations: 384 / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.1931, allocations: 4 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1931, allocations: 7.984 kB / 0.9004 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.724e-05/0.1931, allocations: 75.28 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1931, allocations: 0 / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002533/0.1934, allocations: 39.92 kB / 0.9005 GB, free: 63.29 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.0004632/0.1938, allocations: 0.7826 MB / 0.9013 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.1939, allocations: 31.92 kB / 0.9013 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1939, allocations: 0 / 0.9013 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.194, allocations: 16 kB / 0.9013 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.1942, allocations: 0 / 0.9013 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.1949, allocations: 1.277 MB / 0.9026 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.891e-05/0.195, allocations: 0.6809 MB / 0.9032 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.195, allocations: 0 / 0.9032 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.195, allocations: 15.42 kB / 0.9032 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.195, allocations: 4 kB / 0.9032 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.206, allocations: 1.768 MB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.2063, allocations: 256.1 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.688, allocations: 4 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)