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.485/1.485, allocations: 252 MB / 267.3 MB, free: 10.86 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.001134/0.001134, allocations: 174.3 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0007706/0.0007706, allocations: 88.2 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 9.125 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2215, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0005646/0.2221, allocations: 277.3 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 2.57e-05/0.2221, allocations: 3.938 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.2222, allocations: 0 / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.2222, allocations: 4 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.095e-05/0.2222, allocations: 0 / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.841e-05/0.2223, allocations: 3.938 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.098e-05/0.2223, allocations: 3.984 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.2224, allocations: 0 / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.282e-05/0.2224, allocations: 0 / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.186e-05/0.2224, allocations: 11.94 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.2224, allocations: 0 / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-06/0.2224, allocations: 0 / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.2224, allocations: 0 / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.2225, allocations: 29.7 kB / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.655e-05/0.2225, allocations: 3.938 kB / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2225, allocations: 0 / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.011e-06/0.2225, allocations: 0 / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2225, allocations: 0 / 0.9013 GB, free: 63.06 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.0001669/0.2227, allocations: 312.9 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2228, allocations: 12.09 kB / 0.9016 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.019e-05/0.2228, allocations: 30.75 kB / 0.9016 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.707e-05/0.2228, allocations: 4.938 kB / 0.9016 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.611e-05/0.2229, allocations: 164.3 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.2229, allocations: 384 / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.2229, allocations: 384 / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.286e-05/0.223, allocations: 30.27 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.223, allocations: 15.91 kB / 0.9018 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-06/0.223, allocations: 0 / 0.9018 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-06/0.223, allocations: 4 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.143e-05/0.223, allocations: 0 / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.2232, allocations: 379.5 kB / 0.9022 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.2232, allocations: 173 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.2233, allocations: 80.14 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.2233, allocations: 79.28 kB / 0.9025 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.2233, allocations: 109.9 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.2233, allocations: 0 / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.138e-05/0.2234, allocations: 29.64 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.2234, allocations: 126.7 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.932e-05/0.2235, allocations: 97.86 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-06/0.2235, allocations: 29.83 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.444e-05/0.2235, allocations: 84.12 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.2235, allocations: 0 / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.2235, allocations: 0 / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.2235, allocations: 310.8 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-06/0.2236, allocations: 4 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-06/0.2236, allocations: 0 / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.519e-05/0.2236, allocations: 75.31 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.2236, allocations: 83.22 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.142e-05/0.2237, allocations: 33.7 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2237, allocations: 91.16 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.2237, allocations: 75.28 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.2237, allocations: 154.5 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.058e-05/0.2237, allocations: 83.2 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.2238, allocations: 154.6 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.2238, allocations: 87.22 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2238, allocations: 75.28 kB / 0.9041 GB, free: 59.89 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.2239, allocations: 268.3 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.224, allocations: 101 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.224, allocations: 112 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.224, allocations: 180.3 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/0.2241, allocations: 184.2 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/0.2241, allocations: 180.3 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.2243, allocations: 401.2 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/0.2243, allocations: 108.9 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.2243, allocations: 101 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.959e-05/0.2244, allocations: 184.2 kB / 0.9059 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.2244, allocations: 184.6 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.838e-05/0.2244, allocations: 184.2 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.737e-05/0.2245, allocations: 180.2 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.743e-05/0.2246, allocations: 315.8 kB / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.2246, allocations: 182.1 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.2246, allocations: 176.3 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.2247, allocations: 108.9 kB / 0.9071 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.2247, allocations: 176.3 kB / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.2248, allocations: 104.9 kB / 0.9074 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.2248, allocations: 91.27 kB / 0.9075 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2248, allocations: 0 / 0.9075 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002402/0.225, allocations: 0 / 0.9075 GB, free: 56.22 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 (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.0002161/0.2253, allocations: 0.8048 MB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 2.197e-05/0.2253, allocations: 7.938 kB / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2253, allocations: 0 / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.2253, allocations: 0 / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2256, allocations: 0.5242 MB / 0.9088 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.2262, allocations: 1.522 MB / 0.9103 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.2263, allocations: 0.677 MB / 0.9109 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.711e-06/0.2263, allocations: 0 / 0.9109 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.2263, allocations: 7.438 kB / 0.9109 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2263, allocations: 0 / 0.9109 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06355/0.2899, allocations: 0.747 MB / 0.9117 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/0.2903, allocations: 228.3 kB / 0.9119 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.87, allocations: 0 / 0.9119 GB, free: 51.7 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)