Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.901/1.901, allocations: 288.2 MB / 303.2 MB, free: 8.238 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.001452/0.001453, allocations: 193 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009983/0.0009979, allocations: 102.7 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004092, allocations: 10.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2152, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001115/0.2164, allocations: 0.93 MB / 0.9804 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006331/0.217, allocations: 390.6 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.2171, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.2171, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.86e-05/0.2172, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.2175, allocations: 91.66 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.94e-05/0.2176, allocations: 7.984 kB / 0.9808 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.2176, allocations: 3.984 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.2176, allocations: 8 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.544e-05/0.2177, allocations: 7.938 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.2177, allocations: 3.938 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.2178, allocations: 79.91 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.2179, allocations: 3.938 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.2179, allocations: 29.7 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.218, allocations: 67.89 kB / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.218, allocations: 4 kB / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.218, allocations: 3.938 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2181, allocations: 0 / 0.9811 GB, free: 25.96 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.0003724/0.2184, allocations: 377.2 kB / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2185, allocations: 12.02 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.2185, allocations: 34.56 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.2186, allocations: 0 / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.2187, allocations: 167 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.2187, allocations: 4 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.2187, allocations: 8 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.2188, allocations: 45.61 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2189, allocations: 0 / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2189, allocations: 0 / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2189, allocations: 0 / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.2189, allocations: 4 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.2193, allocations: 252.8 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.397e-05/0.2194, allocations: 42.5 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2194, allocations: 0 / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.2195, allocations: 55.48 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.2196, allocations: 4 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002136/0.2198, allocations: 65.69 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2198, allocations: 59.41 kB / 0.9821 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.2199, allocations: 105.8 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.2199, allocations: 25.7 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.2199, allocations: 80.14 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.22, allocations: 23.73 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.22, allocations: 0 / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.22, allocations: 318.8 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.2201, allocations: 8 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.2201, allocations: 43.36 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.2201, allocations: 8 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2201, allocations: 4 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.646e-05/0.2202, allocations: 73.55 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2203, allocations: 4 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2203, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2203, allocations: 4 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.2204, allocations: 12.06 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2204, allocations: 4.188 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.2204, allocations: 7.906 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2204, allocations: 8 kB / 0.9828 GB, free: 23.89 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.999e-05/0.2205, allocations: 122.1 kB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.2205, allocations: 0 / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.2205, allocations: 7.547 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2205, allocations: 4 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2206, allocations: 0 / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2206, allocations: 7.938 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.2208, allocations: 298.6 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2208, allocations: 4 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.2208, allocations: 0 / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2208, allocations: 0 / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2208, allocations: 4 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2208, allocations: 0 / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2208, allocations: 0 / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.2209, allocations: 171.4 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.221, allocations: 81.02 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.221, allocations: 0 / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.221, allocations: 4 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.2211, allocations: 7.984 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.2211, allocations: 0 / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.067e-05/0.2211, allocations: 79.28 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2211, allocations: 0 / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002882/0.2214, allocations: 35.98 kB / 0.9836 GB, free: 22.98 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.0005157/0.2219, allocations: 0.7747 MB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.222, allocations: 36.05 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2221, allocations: 0 / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.755e-05/0.2221, allocations: 15.94 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.2222, allocations: 1.25 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.2229, allocations: 0.8042 MB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.223, allocations: 0.677 MB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.223, allocations: 8.234 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.2231, allocations: 11.44 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.2231, allocations: 4 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.2344, allocations: 1.743 MB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.2346, allocations: 233.4 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.366/1.601, allocations: 0.9844 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)