Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.803/2.803, allocations: 287.3 MB / 302.3 MB, free: 8.23 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.001591/0.001591, allocations: 182.8 kB / 370.8 MB, free: 10.85 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.134/2.134, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001118/0.001118, allocations: 95.69 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.000504, allocations: 15.95 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2231, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001341/0.2245, allocations: 0.9376 MB / 0.9792 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.2254, allocations: 394.6 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.2254, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.2255, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.246e-05/0.2255, allocations: 3.938 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.226, allocations: 83.72 kB / 0.9796 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.2261, allocations: 15.91 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.2261, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.324e-05/0.2262, allocations: 8 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.2262, allocations: 11.92 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2262, allocations: 4 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.2264, allocations: 75.92 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.2265, allocations: 3.938 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.2265, allocations: 29.7 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.2267, allocations: 67.89 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2267, allocations: 0 / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2267, allocations: 0 / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2267, allocations: 0 / 0.9799 GB, free: 26.65 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.0003978/0.2271, allocations: 383.2 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2271, allocations: 16.02 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.2272, allocations: 34.56 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2273, allocations: 0 / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.072e-05/0.2274, allocations: 167 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2274, allocations: 4 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2274, allocations: 0 / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.2275, allocations: 45.62 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2276, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2276, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2276, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.2276, allocations: 11.98 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.228, allocations: 252.8 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.2281, allocations: 34.61 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.2281, allocations: 3.984 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.2283, allocations: 59.41 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.834e-06/0.2283, allocations: 4 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002447/0.2286, allocations: 69.67 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.2286, allocations: 55.41 kB / 0.9809 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.2287, allocations: 101.8 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2287, allocations: 29.69 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.2287, allocations: 80.14 kB / 0.9811 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.2288, allocations: 19.75 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2288, allocations: 4 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.2288, allocations: 318.8 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.2289, allocations: 11.98 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.2289, allocations: 31.44 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.229, allocations: 16.16 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.229, allocations: 7.938 kB / 0.9815 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001285/0.2292, allocations: 73.56 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2292, allocations: 7.938 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2292, allocations: 0 / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2292, allocations: 4 kB / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.2293, allocations: 11.98 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2293, allocations: 0 / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.2294, allocations: 7.906 kB / 0.9816 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2294, allocations: 4 kB / 0.9816 GB, free: 24.58 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.503e-05/0.2295, allocations: 117.9 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.2295, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.2295, allocations: 7.562 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2295, allocations: 4 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2295, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2296, allocations: 3.984 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.2298, allocations: 298.5 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2298, allocations: 4 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.2299, allocations: 0 / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2299, allocations: 7.984 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.2299, allocations: 4 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2299, allocations: 0 / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2299, allocations: 0 / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.2301, allocations: 163.8 kB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.2301, allocations: 85 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2302, allocations: 4.062 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.2303, allocations: 4 kB / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.2303, allocations: 4 kB / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.2303, allocations: 0 / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.2304, allocations: 87.27 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2304, allocations: 0 / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003884/0.2308, allocations: 32 kB / 0.9824 GB, free: 23.67 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.0007122/0.2315, allocations: 0.7713 MB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.2316, allocations: 31.98 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2317, allocations: 0 / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.2317, allocations: 19.92 kB / 0.9832 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.2319, allocations: 4 kB / 0.9832 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.2326, allocations: 0.7979 MB / 0.984 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2327, allocations: 0.6809 MB / 0.9847 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.2328, allocations: 4.25 kB / 0.9847 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.2328, allocations: 15.38 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.2328, allocations: 0 / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.259, allocations: 1.745 MB / 0.9864 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/0.2594, allocations: 226.2 kB / 0.9866 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.718, allocations: 4.062 kB / 0.9866 GB, free: 19.39 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)