Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_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.683/2.683, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001329/0.001329, allocations: 179.5 kB / 371 MB, free: 10.84 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.216/2.216, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009774/0.0009772, allocations: 93.08 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007945/0.0007949, allocations: 16.67 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2408, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007085/0.2416, allocations: 274.1 kB / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.756e-05/0.2417, allocations: 0 / 0.9787 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.2417, allocations: 4 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.2417, allocations: 4 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.928e-05/0.2418, allocations: 0 / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.547e-05/0.2418, allocations: 3.938 kB / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.29e-05/0.2419, allocations: 0 / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.2419, allocations: 0 / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.3e-05/0.2419, allocations: 0 / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.935e-05/0.242, allocations: 8 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.242, allocations: 0 / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.057e-06/0.242, allocations: 0 / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.242, allocations: 3.984 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.2421, allocations: 33.69 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.477e-05/0.2421, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2421, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2421, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2421, allocations: 0 / 0.9788 GB, free: 27.89 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.0002184/0.2424, allocations: 307.4 kB / 0.9791 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2424, allocations: 16 kB / 0.9791 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.2425, allocations: 30.56 kB / 0.9791 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.2425, allocations: 3.953 kB / 0.9791 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.2426, allocations: 171 kB / 0.9793 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2426, allocations: 0 / 0.9793 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.2426, allocations: 3.938 kB / 0.9793 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.606e-05/0.2427, allocations: 29.7 kB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2427, allocations: 0 / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2427, allocations: 0 / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2428, allocations: 4 kB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.725e-05/0.2428, allocations: 0 / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.243, allocations: 395.3 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.2431, allocations: 169.1 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.2432, allocations: 80.14 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2432, allocations: 75.28 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2432, allocations: 109.8 kB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.2432, allocations: 4 kB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.37e-05/0.2433, allocations: 33.62 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.2434, allocations: 138.7 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.92e-05/0.2434, allocations: 93.86 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.2435, allocations: 25.7 kB / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.2435, allocations: 80.14 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.2435, allocations: 0 / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-07/0.2435, allocations: 4.125 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/0.2436, allocations: 310.8 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-06/0.2436, allocations: 0 / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.2436, allocations: 0 / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.685e-05/0.2436, allocations: 79.28 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.2437, allocations: 83.27 kB / 0.9809 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.962e-05/0.2437, allocations: 25.7 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.2438, allocations: 87.22 kB / 0.981 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.2438, allocations: 79.28 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.793e-05/0.2438, allocations: 150.6 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.586e-05/0.2439, allocations: 79.22 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/0.2439, allocations: 158.5 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.244, allocations: 79.22 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.244, allocations: 79.27 kB / 0.9816 GB, free: 24.73 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.255e-05/0.2441, allocations: 264.7 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.2441, allocations: 105 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.2442, allocations: 108 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/0.2442, allocations: 177.1 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.473e-05/0.2443, allocations: 184.2 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/0.2443, allocations: 192.2 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2445, allocations: 393.2 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.2445, allocations: 112.9 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.2445, allocations: 105 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.553e-05/0.2446, allocations: 184.2 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.2446, allocations: 192.5 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.219e-05/0.2447, allocations: 180.3 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-05/0.2447, allocations: 184.2 kB / 0.9839 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.808e-05/0.2448, allocations: 315.8 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.2449, allocations: 178.1 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.245, allocations: 184.2 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.245, allocations: 104.9 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.2451, allocations: 180.3 kB / 0.9848 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.2451, allocations: 104.9 kB / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.2452, allocations: 79.28 kB / 0.985 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2452, allocations: 0 / 0.985 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003177/0.2455, allocations: 4 kB / 0.985 GB, free: 21.06 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.0002959/0.2458, allocations: 0.8049 MB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.968e-05/0.2459, allocations: 7.938 kB / 0.9858 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2459, allocations: 0 / 0.9858 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.2459, allocations: 4 kB / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2462, allocations: 0.5185 MB / 0.9863 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.2468, allocations: 0.4977 MB / 0.9868 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.2469, allocations: 0.6731 MB / 0.9875 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.626e-06/0.247, allocations: 0 / 0.9875 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.247, allocations: 7.438 kB / 0.9875 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.247, allocations: 7.938 kB / 0.9875 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.2679, allocations: 0.7294 MB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/0.2682, allocations: 214.7 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.56, allocations: 3.938 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)