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.001071/0.001071, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 188.6 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.664/1.664, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00142/0.00142, allocations: 73.27 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.234, allocations: 114.5 MB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.00186/0.2359, allocations: 0.5802 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.375e-05/0.236, allocations: 8 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.236, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.236, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.618e-05/0.2361, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.98e-05/0.2361, allocations: 0 / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.985e-05/0.2361, allocations: 3.938 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.2362, allocations: 4 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.583e-05/0.2362, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.939e-05/0.2362, allocations: 7.969 kB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.2363, allocations: 4 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-06/0.2363, allocations: 0 / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.2363, allocations: 7.938 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.2363, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.828e-05/0.2364, allocations: 4 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2364, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2364, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2364, allocations: 3.938 kB / 0.7843 GB, free: 12.59 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.0003259/0.2367, allocations: 311.6 kB / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2368, allocations: 8.031 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.2368, allocations: 34.75 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.024e-05/0.2368, allocations: 4.938 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.237, allocations: 164.4 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.237, allocations: 384 / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.237, allocations: 4.375 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.408e-05/0.2371, allocations: 26.27 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2371, allocations: 3.938 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.2371, allocations: 3.938 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2371, allocations: 4 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.42e-05/0.2371, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.2375, allocations: 383.5 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/0.2375, allocations: 169.1 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.2376, allocations: 92.05 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.2376, allocations: 75.28 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.2377, allocations: 117.8 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2377, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.887e-05/0.2377, allocations: 29.7 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.2378, allocations: 126.7 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.2379, allocations: 93.86 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2379, allocations: 25.7 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.2379, allocations: 84.27 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.2379, allocations: 0 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.238, allocations: 13.72 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.2381, allocations: 318.8 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-06/0.2381, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-06/0.2381, allocations: 3.938 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/0.2381, allocations: 75.28 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/0.2381, allocations: 79.22 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.799e-05/0.2382, allocations: 33.7 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.2382, allocations: 79.28 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.2383, allocations: 75.28 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-05/0.2383, allocations: 154.5 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.983e-05/0.2383, allocations: 79.28 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.16e-05/0.2384, allocations: 162.5 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.2384, allocations: 79.28 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.2385, allocations: 75.28 kB / 0.7871 GB, free: 9.418 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.112e-05/0.2386, allocations: 269.2 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.2386, allocations: 101 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.2387, allocations: 105.2 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.871e-05/0.2387, allocations: 192.1 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.871e-05/0.2388, allocations: 184.3 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/0.2388, allocations: 180.2 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.239, allocations: 405.2 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/0.2391, allocations: 109 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.2391, allocations: 104.9 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.59e-05/0.2391, allocations: 180.3 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.2392, allocations: 184.2 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.861e-05/0.2393, allocations: 184.6 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.52e-05/0.2393, allocations: 180.2 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.2394, allocations: 315.7 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.2395, allocations: 182 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.2395, allocations: 184.2 kB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.2396, allocations: 105 kB / 0.7901 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.2397, allocations: 184.2 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.2397, allocations: 101 kB / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.93e-05/0.2397, allocations: 83.28 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2397, allocations: 0 / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002429/0.24, allocations: 0 / 0.7905 GB, free: 5.734 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000346/0.2403, allocations: 0.8087 MB / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.218e-05/0.2404, allocations: 8.094 kB / 0.7913 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2404, allocations: 0 / 0.7913 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.2404, allocations: 0 / 0.7913 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2407, allocations: 459.6 kB / 0.7917 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.2416, allocations: 1.543 MB / 0.7932 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.2418, allocations: 0.6768 MB / 0.7939 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.664e-06/0.2418, allocations: 0 / 0.7939 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.2419, allocations: 7.438 kB / 0.7939 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2419, allocations: 4 kB / 0.7939 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.2571, allocations: 0.9107 MB / 0.7948 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.79, allocations: 19.64 kB / 0.7948 GB, free: 1.281 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)