Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.919/1.919, allocations: 292.6 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008558/0.0008559, allocations: 16.31 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2596, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0008232/0.2604, allocations: 320 kB / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.743e-05/0.2605, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.2605, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.2605, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.069e-05/0.2606, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.121e-05/0.2606, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.836e-05/0.2607, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.815e-05/0.2607, allocations: 4 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.367e-05/0.2607, allocations: 0 / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.2608, allocations: 0 / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2608, allocations: 7.938 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.588e-06/0.2608, allocations: 0 / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.2608, allocations: 0 / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.2609, allocations: 25.7 kB / 0.7876 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.212e-05/0.2609, allocations: 3.984 kB / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2609, allocations: 8 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2609, allocations: 0 / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.2609, allocations: 0 / 0.7876 GB, free: 11.52 MB / 0.6075 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.0003076/0.2613, allocations: 307.4 kB / 0.7879 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2613, allocations: 8.094 kB / 0.7879 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.2614, allocations: 42.55 kB / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.2614, allocations: 0 / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2615, allocations: 163 kB / 0.7881 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2615, allocations: 3.938 kB / 0.7881 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.2616, allocations: 0 / 0.7881 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.219e-05/0.2617, allocations: 35.36 kB / 0.7882 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2617, allocations: 0 / 0.7882 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2617, allocations: 0 / 0.7882 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2617, allocations: 3.938 kB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.2617, allocations: 4 kB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.2621, allocations: 391.4 kB / 0.7885 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.2622, allocations: 169.1 kB / 0.7887 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.2622, allocations: 75.28 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.232e-05/0.2623, allocations: 117.8 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.2623, allocations: 0 / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.444e-05/0.2624, allocations: 29.69 kB / 0.7889 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.2624, allocations: 126.7 kB / 0.789 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.2625, allocations: 97.86 kB / 0.7891 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.2625, allocations: 25.7 kB / 0.7891 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.2626, allocations: 80.14 kB / 0.7892 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2626, allocations: 128 / 0.7892 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.2626, allocations: 4 kB / 0.7892 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2627, allocations: 314.8 kB / 0.7895 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-06/0.2627, allocations: 4 kB / 0.7895 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-06/0.2627, allocations: 0 / 0.7895 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.056e-05/0.2628, allocations: 79.22 kB / 0.7896 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/0.2628, allocations: 75.28 kB / 0.7897 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.4e-05/0.2629, allocations: 29.69 kB / 0.7897 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.2629, allocations: 86.09 kB / 0.7898 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.263, allocations: 79.28 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.768e-05/0.263, allocations: 162.5 kB / 0.79 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.734e-05/0.2631, allocations: 75.28 kB / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.49e-05/0.2631, allocations: 158.5 kB / 0.7902 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.2632, allocations: 75.28 kB / 0.7903 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2633, allocations: 79.27 kB / 0.7904 GB, free: 8.453 MB / 0.6075 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 0.0001371/0.2634, allocations: 272.6 kB / 0.7906 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.2635, allocations: 110.1 kB / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.2635, allocations: 104.1 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-05/0.2636, allocations: 180.2 kB / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-05/0.2637, allocations: 184.2 kB / 0.7912 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.391e-05/0.2638, allocations: 184.2 kB / 0.7914 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.264, allocations: 405.1 kB / 0.7918 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/0.264, allocations: 105 kB / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.2641, allocations: 108.9 kB / 0.792 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.14e-05/0.2642, allocations: 176.3 kB / 0.7921 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.2642, allocations: 180.3 kB / 0.7923 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.402e-05/0.2643, allocations: 184.5 kB / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-05/0.2644, allocations: 188.2 kB / 0.7927 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2645, allocations: 311.7 kB / 0.793 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.2646, allocations: 178.1 kB / 0.7931 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.2647, allocations: 192.2 kB / 0.7933 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.2648, allocations: 109 kB / 0.7934 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-05/0.2649, allocations: 180.2 kB / 0.7936 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.2649, allocations: 101 kB / 0.7937 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.265, allocations: 79.28 kB / 0.7938 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.265, allocations: 0 / 0.7938 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002522/0.2652, allocations: 4.094 kB / 0.7938 GB, free: 4.766 MB / 0.6075 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.0004008/0.2656, allocations: 0.8087 MB / 0.7946 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.16e-05/0.2657, allocations: 0 / 0.7946 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2657, allocations: 0 / 0.7946 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.2657, allocations: 8 kB / 0.7946 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.266, allocations: 0.5224 MB / 0.7951 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.2666, allocations: 0.4938 MB / 0.7956 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.2668, allocations: 0.6731 MB / 0.7962 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.427e-06/0.2668, allocations: 3.938 kB / 0.7962 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.2669, allocations: 11.38 kB / 0.7962 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2669, allocations: 4 kB / 0.7962 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.2771, allocations: 0.7089 MB / 0.7969 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.2774, allocations: 201.5 kB / 0.7971 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.168, allocations: 3.375 kB / 0.7971 GB, free: 1.324 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) Environment - environmentSimulation: