Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 288.2 MB / 303.2 MB, free: 8.051 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.001214/0.001214, allocations: 189 kB / 371.8 MB, free: 10.3 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.762/1.762, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009206, allocations: 92.92 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005101/0.0005102, allocations: 12.88 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.231, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0006154/0.2317, allocations: 312.5 kB / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.888e-05/0.2318, allocations: 0 / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.2318, allocations: 0 / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.2318, allocations: 0 / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.085e-05/0.2318, allocations: 0 / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.623e-05/0.2319, allocations: 4 kB / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.232e-05/0.2319, allocations: 4 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.232, allocations: 3.938 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.232, allocations: 4 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.641e-05/0.232, allocations: 0 / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.232, allocations: 0 / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-06/0.232, allocations: 0 / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.2321, allocations: 0 / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.2321, allocations: 29.7 kB / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.019e-05/0.2321, allocations: 3.984 kB / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2321, allocations: 0 / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2321, allocations: 4 kB / 0.9799 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.2321, allocations: 0 / 0.9799 GB, free: 27.25 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.0002096/0.2324, allocations: 303.4 kB / 0.9801 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2324, allocations: 16.08 kB / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.614e-05/0.2324, allocations: 30.56 kB / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.862e-05/0.2325, allocations: 0 / 0.9802 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.772e-05/0.2326, allocations: 167 kB / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.2326, allocations: 0 / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.2326, allocations: 0 / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/0.2327, allocations: 47.3 kB / 0.9804 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.2327, allocations: 0 / 0.9804 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.2327, allocations: 0 / 0.9804 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2327, allocations: 0 / 0.9804 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.269e-05/0.2327, allocations: 0 / 0.9804 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.2329, allocations: 391.3 kB / 0.9808 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.724e-05/0.233, allocations: 177.1 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.233, allocations: 75.28 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.233, allocations: 105.8 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.233, allocations: 0 / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.804e-05/0.2331, allocations: 25.7 kB / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.2331, allocations: 126.7 kB / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.2332, allocations: 105.8 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.2332, allocations: 29.64 kB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.551e-05/0.2332, allocations: 80.14 kB / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.2332, allocations: 3.984 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.2332, allocations: 4 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.2333, allocations: 314.8 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.2333, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.2333, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.087e-05/0.2333, allocations: 79.41 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.2333, allocations: 75.28 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.615e-05/0.2334, allocations: 33.7 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2334, allocations: 79.28 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2334, allocations: 83.2 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.2335, allocations: 154.6 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.828e-06/0.2335, allocations: 79.28 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.2335, allocations: 158.5 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.2336, allocations: 75.28 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2336, allocations: 79.22 kB / 0.9826 GB, free: 24.18 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 5.555e-05/0.2336, allocations: 269.7 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.2337, allocations: 105 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.2337, allocations: 111.8 kB / 0.9831 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/0.2338, allocations: 189.3 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.2338, allocations: 176.3 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.2338, allocations: 180.2 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.2339, allocations: 413.1 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.234, allocations: 104.9 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.234, allocations: 105 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.56e-05/0.234, allocations: 180.2 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.234, allocations: 188.2 kB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.438e-05/0.2341, allocations: 176.6 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.316e-05/0.2341, allocations: 184.2 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.908e-05/0.2342, allocations: 315.8 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.2342, allocations: 182 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.2342, allocations: 184.2 kB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.2343, allocations: 104.9 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.2343, allocations: 184.2 kB / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2343, allocations: 105 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.063e-05/0.2344, allocations: 83.28 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.22e-07/0.2344, allocations: 0 / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002653/0.2346, allocations: 3.938 kB / 0.986 GB, free: 20.5 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.0002471/0.2349, allocations: 0.8049 MB / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.695e-05/0.2349, allocations: 8 kB / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2349, allocations: 0 / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.235, allocations: 0 / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.2352, allocations: 0.5223 MB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.2356, allocations: 0.4939 MB / 0.9878 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.755e-05/0.2357, allocations: 0.677 MB / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.904e-06/0.2357, allocations: 0 / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.2357, allocations: 7.438 kB / 0.9885 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of SimCode: time 1.8e-07/0.2357, allocations: 3.938 kB / 0.9885 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.2472, allocations: 0.7322 MB / 0.9892 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.2474, allocations: 217.9 kB / 0.9894 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.706, allocations: 0 / 0.9894 GB, free: 17.05 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)