Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001024, allocations: 173.5 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000799/0.0007986, allocations: 84.08 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 10.16 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2396, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0006433/0.2403, allocations: 273.4 kB / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.55e-05/0.2403, allocations: 0 / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.2404, allocations: 3.938 kB / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.2404, allocations: 4 kB / 0.9006 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.009e-05/0.2404, allocations: 3.938 kB / 0.9006 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.65e-05/0.2405, allocations: 4 kB / 0.9006 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.088e-05/0.2405, allocations: 7.938 kB / 0.9006 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.2406, allocations: 3.984 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.314e-05/0.2406, allocations: 0 / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.847e-05/0.2406, allocations: 3.984 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.2406, allocations: 0 / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-06/0.2406, allocations: 0 / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.655e-06/0.2407, allocations: 0 / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.2407, allocations: 29.7 kB / 0.9006 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.721e-05/0.2407, allocations: 4 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2407, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2407, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.2408, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 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.0002162/0.241, allocations: 311.4 kB / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.241, allocations: 12.09 kB / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.2411, allocations: 30.56 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.2411, allocations: 3.953 kB / 0.901 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/0.2412, allocations: 163 kB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2412, allocations: 4 kB / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.2412, allocations: 0 / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/0.2413, allocations: 31.02 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2413, allocations: 0 / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.2413, allocations: 0 / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2413, allocations: 0 / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.371e-05/0.2413, allocations: 4 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.2416, allocations: 383.5 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.803e-05/0.2416, allocations: 173.1 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.2416, allocations: 80.14 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.2417, allocations: 83.27 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.2417, allocations: 109.8 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.2417, allocations: 0 / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.683e-05/0.2418, allocations: 33.64 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2418, allocations: 134.6 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.2419, allocations: 89.86 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.2419, allocations: 25.7 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/0.2419, allocations: 92.08 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.2419, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.2419, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.242, allocations: 319 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-06/0.242, allocations: 3.938 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-06/0.242, allocations: 0 / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.603e-05/0.242, allocations: 75.28 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.242, allocations: 75.28 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.75e-05/0.2421, allocations: 33.73 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2421, allocations: 79.28 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.2421, allocations: 79.22 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/0.2422, allocations: 158.6 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.255e-05/0.2422, allocations: 79.22 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.2422, allocations: 158.5 kB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.2423, allocations: 79.27 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2423, allocations: 83.22 kB / 0.9035 GB, free: 60.29 MB / 0.6042 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 6.969e-05/0.2424, allocations: 260.4 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.2424, allocations: 101 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.2424, allocations: 116 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.2425, allocations: 180.2 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/0.2425, allocations: 180.2 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.2425, allocations: 184.2 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.2427, allocations: 409.2 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.2427, allocations: 104.9 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.2427, allocations: 101 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.487e-05/0.2428, allocations: 180.2 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.2428, allocations: 184.3 kB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.832e-05/0.2428, allocations: 180.6 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-05/0.2429, allocations: 184.2 kB / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.2429, allocations: 311.8 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.243, allocations: 178.1 kB / 0.9062 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.2431, allocations: 184.2 kB / 0.9064 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.2431, allocations: 112.9 kB / 0.9065 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.2432, allocations: 176.3 kB / 0.9067 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.2432, allocations: 104.9 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.217e-05/0.2432, allocations: 79.28 kB / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2432, allocations: 3.938 kB / 0.9069 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002619/0.2435, allocations: 0 / 0.9069 GB, free: 56.62 MB / 0.6042 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.0002909/0.2438, allocations: 0.8126 MB / 0.9077 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 3.471e-05/0.2438, allocations: 3.938 kB / 0.9077 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2439, allocations: 4 kB / 0.9077 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.2439, allocations: 0 / 0.9077 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2442, allocations: 0.5224 MB / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.2446, allocations: 0.4976 MB / 0.9087 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.2447, allocations: 0.6732 MB / 0.9093 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.474e-06/0.2447, allocations: 0 / 0.9093 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.2447, allocations: 7.438 kB / 0.9093 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2448, allocations: 0 / 0.9093 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01025/0.255, allocations: 0.7474 MB / 0.91 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.2552, allocations: 212.4 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.736, allocations: 4 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)