Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009106/0.0009106, allocations: 170 kB / 325.8 MB, free: 2.68 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.268/1.268, allocations: 205 MB / 0.576 GB, free: 20.99 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.000727/0.000727, allocations: 83.23 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.0002643, allocations: 12.03 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0005801/0.1414, allocations: 339.5 kB / 0.8965 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.506e-05/0.1415, allocations: 3.984 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.1415, allocations: 0 / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.1415, allocations: 4 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.079e-05/0.1416, allocations: 0 / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.442e-05/0.1416, allocations: 0 / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.73e-05/0.1416, allocations: 7.938 kB / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.1417, allocations: 7.922 kB / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.292e-05/0.1417, allocations: 0 / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.418e-05/0.1417, allocations: 4 kB / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1417, allocations: 4 kB / 0.8966 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-06/0.1417, allocations: 0 / 0.8966 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1418, allocations: 0 / 0.8966 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.1418, allocations: 0 / 0.8966 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.976e-05/0.1418, allocations: 7.938 kB / 0.8966 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1418, allocations: 0 / 0.8966 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1418, allocations: 0 / 0.8966 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.1418, allocations: 3.938 kB / 0.8966 GB, free: 67.67 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.0001647/0.142, allocations: 315.8 kB / 0.8969 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1421, allocations: 8.031 kB / 0.8969 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.225e-05/0.1421, allocations: 30.75 kB / 0.8969 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.684e-05/0.1421, allocations: 0.9375 kB / 0.8969 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.824e-05/0.1422, allocations: 164.4 kB / 0.8971 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.1422, allocations: 4.375 kB / 0.8971 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-06/0.1422, allocations: 384 / 0.8971 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.758e-05/0.1423, allocations: 34.25 kB / 0.8971 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1423, allocations: 3.938 kB / 0.8971 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.1423, allocations: 0 / 0.8971 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1423, allocations: 7.938 kB / 0.8971 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.109e-05/0.1423, allocations: 0 / 0.8971 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1425, allocations: 383.5 kB / 0.8975 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.429e-05/0.1425, allocations: 169.1 kB / 0.8977 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.1425, allocations: 80.14 kB / 0.8977 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.1426, allocations: 79.22 kB / 0.8978 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.1426, allocations: 105.8 kB / 0.8979 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.1426, allocations: 8 kB / 0.8979 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.262e-05/0.1426, allocations: 26.55 kB / 0.8979 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.1427, allocations: 130.7 kB / 0.8981 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.742e-05/0.1427, allocations: 93.86 kB / 0.8982 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-06/0.1427, allocations: 29.69 kB / 0.8982 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.155e-05/0.1428, allocations: 80.14 kB / 0.8983 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.1428, allocations: 0 / 0.8983 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.1428, allocations: 9.719 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.1428, allocations: 315 kB / 0.8986 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/0.1428, allocations: 4 kB / 0.8986 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.975e-06/0.1428, allocations: 3.938 kB / 0.8986 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-06/0.1428, allocations: 79.28 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.1429, allocations: 79.22 kB / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.372e-05/0.1429, allocations: 25.7 kB / 0.8988 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1429, allocations: 83.28 kB / 0.8988 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1429, allocations: 79.28 kB / 0.8989 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.143, allocations: 162.5 kB / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.003e-05/0.143, allocations: 79.27 kB / 0.8991 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.143, allocations: 162.4 kB / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.1431, allocations: 75.28 kB / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1431, allocations: 79.28 kB / 0.8994 GB, free: 64.5 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 4.483e-05/0.1431, allocations: 272.2 kB / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.1432, allocations: 105 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.1432, allocations: 108.1 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.1432, allocations: 180.2 kB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.1432, allocations: 180.3 kB / 0.9003 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.1433, allocations: 189.1 kB / 0.9004 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1434, allocations: 405.2 kB / 0.9008 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.1434, allocations: 101 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.1434, allocations: 108.9 kB / 0.901 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/0.1434, allocations: 180.3 kB / 0.9012 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.1435, allocations: 184.2 kB / 0.9014 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/0.1435, allocations: 184.2 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-05/0.1435, allocations: 184.6 kB / 0.9017 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.805e-05/0.1436, allocations: 311.7 kB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.1436, allocations: 186 kB / 0.9022 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.1436, allocations: 176.3 kB / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.1437, allocations: 105 kB / 0.9025 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.1437, allocations: 184.2 kB / 0.9026 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1437, allocations: 101 kB / 0.9027 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.729e-05/0.1437, allocations: 83.27 kB / 0.9028 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1437, allocations: 0 / 0.9028 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002554/0.144, allocations: 4 kB / 0.9028 GB, free: 60.82 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.0001854/0.1442, allocations: 0.8126 MB / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 2.483e-05/0.1442, allocations: 0 / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1442, allocations: 0 / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.1442, allocations: 4 kB / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1445, allocations: 0.5248 MB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.145, allocations: 1.533 MB / 0.9056 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.595e-05/0.1451, allocations: 0.6692 MB / 0.9063 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.182e-06/0.1451, allocations: 0 / 0.9063 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.1451, allocations: 7.438 kB / 0.9063 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.1451, allocations: 4.031 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/0.2658, allocations: 0.7434 MB / 0.907 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.266, allocations: 225.2 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.383/1.649, allocations: 4 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)