Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.703/2.703, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001367/0.001366, allocations: 174.6 kB / 371 MB, free: 10.87 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.198/2.198, allocations: 205.4 MB / 0.6297 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.0009206/0.0009204, allocations: 85.11 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006554/0.0006557, allocations: 13.19 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2102, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0007245/0.2109, allocations: 318 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.818e-05/0.211, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.211, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.2111, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.516e-05/0.2111, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.533e-05/0.2111, allocations: 4 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.2112, allocations: 7.938 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.2112, allocations: 3.984 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.2113, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.87e-05/0.2113, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2113, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-06/0.2113, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.2114, allocations: 4 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.2114, allocations: 25.7 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.641e-05/0.2114, allocations: 4 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2114, allocations: 4 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2114, allocations: 0 / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2115, allocations: 0 / 0.9788 GB, free: 27.86 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002212/0.2117, allocations: 307.4 kB / 0.9791 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2117, allocations: 16.08 kB / 0.9791 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.2118, allocations: 34.56 kB / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.2118, allocations: 0 / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.467e-05/0.2119, allocations: 163 kB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2119, allocations: 3.938 kB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.2119, allocations: 0 / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.678e-05/0.212, allocations: 37.7 kB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2121, allocations: 0 / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2121, allocations: 3.938 kB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2121, allocations: 3.938 kB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.592e-05/0.2121, allocations: 0 / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.2124, allocations: 387.4 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.768e-05/0.2124, allocations: 177.1 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.2125, allocations: 80.14 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2125, allocations: 79.27 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2125, allocations: 105.8 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.2125, allocations: 0 / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.076e-05/0.2126, allocations: 29.64 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2127, allocations: 138.7 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.2127, allocations: 97.81 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-06/0.2128, allocations: 25.7 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.2128, allocations: 88.12 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.2128, allocations: 0 / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-07/0.2128, allocations: 0 / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.2129, allocations: 314.8 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.2129, allocations: 4.125 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-06/0.2129, allocations: 0 / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.713e-05/0.2129, allocations: 75.28 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.2129, allocations: 75.28 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.79e-05/0.213, allocations: 33.7 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.2131, allocations: 80.69 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.2131, allocations: 79.22 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.309e-05/0.2131, allocations: 158.5 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-05/0.2132, allocations: 83.22 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/0.2132, allocations: 150.6 kB / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.2133, allocations: 79.27 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.2133, allocations: 87.17 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 9.4e-05/0.2134, allocations: 260.7 kB / 0.9819 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.2135, allocations: 105 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.2135, allocations: 108 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/0.2135, allocations: 185.1 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/0.2136, allocations: 180.2 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/0.2136, allocations: 176.3 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.2138, allocations: 413.2 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/0.2138, allocations: 108.9 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.2139, allocations: 101 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.302e-05/0.2139, allocations: 184.2 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.214, allocations: 184.6 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.15e-05/0.214, allocations: 176.3 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.573e-05/0.214, allocations: 188.2 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.452e-05/0.2141, allocations: 311.8 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.2142, allocations: 182 kB / 0.9844 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.2143, allocations: 188.2 kB / 0.9846 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.2143, allocations: 104.9 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.2144, allocations: 180.3 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.2144, allocations: 104.9 kB / 0.985 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.2145, allocations: 83.28 kB / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2145, allocations: 0 / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003224/0.2148, allocations: 0 / 0.9851 GB, free: 21.02 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003037/0.2151, allocations: 0.8049 MB / 0.9858 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.451e-05/0.2152, allocations: 8 kB / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2152, allocations: 3.938 kB / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.2152, allocations: 0 / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.2158, allocations: 0.5224 MB / 0.9864 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.2165, allocations: 0.4949 MB / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2167, allocations: 0.6692 MB / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.807e-06/0.2167, allocations: 4.094 kB / 0.9875 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.2167, allocations: 7.438 kB / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of SimCode: time 2.114e-06/0.2167, allocations: 0 / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.2337, allocations: 0.7553 MB / 0.9883 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.234, allocations: 203 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/2.623, allocations: 3.938 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)