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.797/1.797, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001118/0.001118, allocations: 172.5 kB / 371.9 MB, free: 10.25 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.645/1.645, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008759/0.0008761, allocations: 90.91 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 11.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2083, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001134/0.2095, allocations: 0.9356 MB / 0.9806 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.2102, allocations: 380.8 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.2103, allocations: 0 / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.2103, allocations: 4 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.2103, allocations: 3.938 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.2108, allocations: 79.8 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.2109, allocations: 19.92 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.2109, allocations: 7.984 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.211, allocations: 7.938 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.575e-05/0.211, allocations: 7.984 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.211, allocations: 4 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.2112, allocations: 91.84 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.2112, allocations: 0 / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.2112, allocations: 37.69 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2114, allocations: 63.89 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2114, allocations: 0 / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2114, allocations: 0 / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2114, allocations: 4 kB / 0.9812 GB, free: 25.9 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.000331/0.2117, allocations: 373.2 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2118, allocations: 15.95 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.2118, allocations: 34.56 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.2119, allocations: 3.984 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.526e-05/0.2119, allocations: 167 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.212, allocations: 4 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.212, allocations: 4 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.015e-05/0.2121, allocations: 41.69 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2121, allocations: 3.938 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2121, allocations: 0 / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2121, allocations: 3.984 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.2121, allocations: 8 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.2124, allocations: 248.8 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.2125, allocations: 42.5 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.2125, allocations: 16.86 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.2125, allocations: 0 / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.2127, allocations: 55.48 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.2127, allocations: 0 / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001728/0.2129, allocations: 73.62 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.2129, allocations: 63.39 kB / 0.9823 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.376e-05/0.2129, allocations: 97.86 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.213, allocations: 25.7 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.507e-05/0.213, allocations: 80.14 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.213, allocations: 23.73 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.213, allocations: 0 / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.2131, allocations: 318.8 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.2131, allocations: 8 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.2131, allocations: 39.42 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.2131, allocations: 12.17 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2132, allocations: 7.938 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.069e-05/0.2132, allocations: 69.61 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2133, allocations: 4 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2133, allocations: 256 / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2133, allocations: 4.062 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.871e-05/0.2134, allocations: 16 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2134, allocations: 3.984 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.2134, allocations: 7.906 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2134, allocations: 4 kB / 0.983 GB, free: 23.81 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 5.693e-05/0.2135, allocations: 117.7 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-06/0.2135, allocations: 7.938 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.2135, allocations: 3.562 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2135, allocations: 4 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2136, allocations: 4 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.2136, allocations: 0 / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2138, allocations: 302.5 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2138, allocations: 4 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/0.2138, allocations: 3.938 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2138, allocations: 4 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2138, allocations: 0 / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2138, allocations: 0 / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2138, allocations: 0 / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.2139, allocations: 167.5 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.214, allocations: 81.02 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.214, allocations: 0 / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.2141, allocations: 7.984 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.2141, allocations: 0 / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.2141, allocations: 4 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.183e-05/0.2141, allocations: 79.28 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2141, allocations: 0 / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002604/0.2144, allocations: 35.98 kB / 0.9838 GB, free: 22.9 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.0006313/0.215, allocations: 0.7864 MB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.2152, allocations: 39.92 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2152, allocations: 0 / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.2152, allocations: 12 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.2154, allocations: 5.922 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.2161, allocations: 417.1 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.2162, allocations: 0.6809 MB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.2162, allocations: 4.234 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.2163, allocations: 11.44 kB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2163, allocations: 0 / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.2289, allocations: 1.775 MB / 0.9875 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.2292, allocations: 234.1 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.855, allocations: 0 / 0.9877 GB, free: 19 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)