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.001161/0.001161, allocations: 101.4 kB / 15.7 MB, free: 28 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.001207/0.001207, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.784/1.784, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001621/0.001621, allocations: 74.31 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2372, 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.001813/0.239, allocations: 0.5958 MB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.55e-05/0.2391, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.2391, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.2392, allocations: 4 kB / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.838e-05/0.2392, allocations: 0 / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.421e-05/0.2392, allocations: 0 / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.2393, allocations: 4 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.2393, allocations: 4 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.646e-05/0.2394, allocations: 3.938 kB / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.75e-05/0.2394, allocations: 0 / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.2394, allocations: 0 / 0.7843 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.2394, allocations: 4 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.2394, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.2395, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.765e-05/0.2395, allocations: 11.97 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2395, allocations: 0 / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2395, allocations: 0 / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.2395, allocations: 0 / 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.0002833/0.2398, allocations: 315.5 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2399, allocations: 8.031 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.2399, allocations: 34.75 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.2399, allocations: 4.875 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2401, allocations: 164.4 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.2401, allocations: 4.375 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.2401, allocations: 384 / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.329e-05/0.2402, allocations: 30.27 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.2402, allocations: 3.938 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.2402, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2402, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.456e-05/0.2402, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.2405, allocations: 391.4 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/0.2406, allocations: 169.1 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.2406, allocations: 88.17 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2406, allocations: 83.25 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.2407, allocations: 105.8 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.2407, allocations: 4 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.604e-05/0.2408, allocations: 29.64 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.2408, allocations: 126.7 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.2409, allocations: 101.8 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.2409, allocations: 25.7 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.2409, allocations: 80.14 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.2409, allocations: 0 / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.241, allocations: 13.84 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.2411, allocations: 314.8 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.2411, allocations: 0 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/0.2411, allocations: 0 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.2411, allocations: 75.28 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.2411, allocations: 79.22 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.766e-05/0.2412, allocations: 37.62 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.2412, allocations: 80.22 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.2413, allocations: 75.28 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.767e-05/0.2413, allocations: 166.5 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-05/0.2413, allocations: 75.28 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-05/0.2414, allocations: 150.6 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.2415, allocations: 79.22 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.2415, allocations: 79.28 kB / 0.7871 GB, free: 9.414 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.413e-05/0.2416, allocations: 269.3 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.2416, allocations: 112.9 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.2417, allocations: 109.2 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-05/0.2417, allocations: 176.3 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.537e-05/0.2418, allocations: 180.2 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.654e-05/0.2419, allocations: 184.2 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.2421, allocations: 417.1 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/0.2421, allocations: 101 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.2422, allocations: 105 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.822e-05/0.2422, allocations: 180.2 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/0.2423, allocations: 180.3 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.002e-05/0.2423, allocations: 184.5 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.981e-05/0.2424, allocations: 180.3 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.2425, allocations: 311.7 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.2425, allocations: 178.1 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.2426, allocations: 192.2 kB / 0.7901 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.2427, allocations: 101 kB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.2428, allocations: 184.2 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.2428, allocations: 105 kB / 0.7904 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.487e-05/0.2428, allocations: 83.22 kB / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2428, allocations: 0 / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002524/0.2431, allocations: 0 / 0.7905 GB, free: 5.73 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.0003844/0.2435, allocations: 0.8166 MB / 0.7913 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.69e-05/0.2435, allocations: 0 / 0.7913 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2435, allocations: 0 / 0.7913 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.2436, allocations: 0 / 0.7913 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.2439, allocations: 471.6 kB / 0.7918 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.2449, allocations: 1.532 MB / 0.7933 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.2451, allocations: 0.6729 MB / 0.7939 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.403e-06/0.2451, allocations: 0 / 0.7939 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.2451, allocations: 7.438 kB / 0.7939 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2451, allocations: 4.031 kB / 0.7939 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.2621, allocations: 0.9119 MB / 0.7948 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.567, allocations: 15.91 kB / 0.7948 GB, free: 1.277 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/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)