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.712/2.712, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.002362/0.002362, allocations: 183.2 kB / 370.8 MB, free: 10.86 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.223/2.223, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001191/0.00119, allocations: 86.02 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005464/0.0005465, allocations: 16.81 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2148, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.000727/0.2156, allocations: 324.2 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.79e-05/0.2157, allocations: 0 / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.2157, allocations: 0 / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.2157, allocations: 0 / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.234e-05/0.2158, allocations: 0 / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.65e-05/0.2158, allocations: 0 / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.2159, allocations: 7.938 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.2159, allocations: 4 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.483e-05/0.2159, allocations: 7.984 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.701e-05/0.216, allocations: 0 / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.216, allocations: 0 / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-06/0.216, allocations: 0 / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.305e-06/0.216, allocations: 0 / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.2161, allocations: 25.7 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.071e-05/0.2161, allocations: 3.984 kB / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2161, allocations: 0 / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2161, allocations: 4 kB / 0.9787 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2162, allocations: 0 / 0.9787 GB, free: 27.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002063/0.2164, allocations: 307.4 kB / 0.979 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2164, allocations: 12.08 kB / 0.979 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.2165, allocations: 30.56 kB / 0.979 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.062e-05/0.2165, allocations: 4 kB / 0.979 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.2166, allocations: 167 kB / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.2166, allocations: 3.938 kB / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2166, allocations: 3.938 kB / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.106e-05/0.2167, allocations: 35.42 kB / 0.9792 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2167, allocations: 0 / 0.9792 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2168, allocations: 3.938 kB / 0.9792 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.2168, allocations: 7.984 kB / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.2168, allocations: 0 / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.2171, allocations: 387.4 kB / 0.9796 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.669e-05/0.2171, allocations: 169.1 kB / 0.9797 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2172, allocations: 75.28 kB / 0.9798 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.2172, allocations: 113.9 kB / 0.9799 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.2172, allocations: 0 / 0.9799 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.303e-05/0.2173, allocations: 25.7 kB / 0.9799 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2173, allocations: 130.7 kB / 0.9801 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.2174, allocations: 101.8 kB / 0.9802 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.2174, allocations: 25.7 kB / 0.9802 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.2175, allocations: 84.27 kB / 0.9803 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.2175, allocations: 0 / 0.9803 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.2175, allocations: 0 / 0.9803 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.2176, allocations: 314.8 kB / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-06/0.2176, allocations: 0 / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-06/0.2176, allocations: 4 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.637e-05/0.2176, allocations: 75.28 kB / 0.9806 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.2176, allocations: 75.28 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.583e-05/0.2177, allocations: 29.7 kB / 0.9807 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.2177, allocations: 87.28 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.2178, allocations: 83.2 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.266e-05/0.2178, allocations: 154.6 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.494e-05/0.2178, allocations: 75.28 kB / 0.9811 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.879e-05/0.2179, allocations: 162.5 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.218, allocations: 75.28 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.218, allocations: 83.22 kB / 0.9814 GB, free: 24.82 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 7.978e-05/0.2181, allocations: 266.7 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.2181, allocations: 109 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.2182, allocations: 108 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.253e-05/0.2182, allocations: 177.3 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.491e-05/0.2183, allocations: 184.3 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-05/0.2183, allocations: 184.2 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.2185, allocations: 401.2 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/0.2185, allocations: 108.9 kB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.2185, allocations: 108.9 kB / 0.983 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.675e-05/0.2186, allocations: 180.2 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.2186, allocations: 192.1 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.097e-05/0.2187, allocations: 176.6 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.374e-05/0.2187, allocations: 188.2 kB / 0.9837 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.234e-05/0.2188, allocations: 311.8 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.2189, allocations: 186 kB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.2189, allocations: 176.3 kB / 0.9844 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.219, allocations: 104.9 kB / 0.9845 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.2191, allocations: 180.3 kB / 0.9846 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.2191, allocations: 105 kB / 0.9847 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.2191, allocations: 87.28 kB / 0.9848 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2192, allocations: 3.938 kB / 0.9848 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000312/0.2195, allocations: 0 / 0.9848 GB, free: 21.14 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.0002677/0.2198, allocations: 0.8048 MB / 0.9856 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.054e-05/0.2198, allocations: 4.094 kB / 0.9856 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2198, allocations: 0 / 0.9856 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.2198, allocations: 3.938 kB / 0.9856 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.2201, allocations: 0.5224 MB / 0.9861 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.2206, allocations: 0.4899 MB / 0.9866 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2208, allocations: 0.6771 MB / 0.9873 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.298e-06/0.2208, allocations: 0 / 0.9873 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.2208, allocations: 7.438 kB / 0.9873 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.2208, allocations: 0 / 0.9873 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.2419, allocations: 0.7403 MB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.2422, allocations: 199.5 kB / 0.9882 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/2.613, allocations: 0 / 0.9882 GB, free: 17.71 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)