Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.471/2.471, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001453/0.001453, allocations: 180.8 kB / 360.6 MB, free: 7.297 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.104/2.104, allocations: 205.2 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 93.64 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.959e-05, allocations: 8 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8252, allocations: 115.3 MB / 0.9634 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/1.057, allocations: 136.2 MB / 1.096 GB, free: 4.332 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.058, allocations: 68.67 kB / 1.097 GB, free: 4.266 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005476/1.058, allocations: 373.3 kB / 1.097 GB, free: 3.902 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/1.058, allocations: 0 / 1.097 GB, free: 3.902 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.443e-06/1.058, allocations: 0.5312 kB / 1.097 GB, free: 3.902 MB / 0.698 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.0003808/1.059, allocations: 308 kB / 1.097 GB, free: 3.559 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/1.059, allocations: 11.78 kB / 1.097 GB, free: 3.551 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/1.059, allocations: 1.203 kB / 1.097 GB, free: 3.551 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/1.059, allocations: 173.9 kB / 1.097 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.059, allocations: 1.75 kB / 1.097 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/1.059, allocations: 4 kB / 1.097 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.06e-05/1.059, allocations: 0 / 1.097 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.101e-05/1.059, allocations: 25.7 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.059, allocations: 3.375 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/1.059, allocations: 0.5938 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.059, allocations: 4 kB / 1.097 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/1.06, allocations: 361.4 kB / 1.098 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/1.06, allocations: 170.3 kB / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/1.06, allocations: 88.73 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/1.06, allocations: 76.84 kB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.757e-05/1.06, allocations: 106.4 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 5.26e-06/1.06, allocations: 1.453 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001127/1.06, allocations: 29.02 kB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/1.061, allocations: 52.81 kB / 1.098 GB, free: 2.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/1.061, allocations: 89 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/1.061, allocations: 26.45 kB / 1.098 GB, free: 2.242 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/1.061, allocations: 84.12 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/1.061, allocations: 0.5938 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-07/1.061, allocations: 4.625 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.061, allocations: 315.4 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/1.061, allocations: 0 / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-06/1.061, allocations: 0.7188 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.247e-05/1.061, allocations: 79.81 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-05/1.061, allocations: 79.94 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001085/1.061, allocations: 25.7 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/1.061, allocations: 79.91 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-05/1.061, allocations: 82.11 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-05/1.062, allocations: 155.4 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/1.062, allocations: 75.78 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-05/1.062, allocations: 159.1 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/1.062, allocations: 79.91 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/1.062, allocations: 79.91 kB / 1.1 GB, free: 0.9531 MB / 0.698 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 () * 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 0.0001687/1.062, allocations: 260.3 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001318/1.062, allocations: 135.8 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/1.062, allocations: 109.3 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/1.062, allocations: 105.4 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/1.063, allocations: 187.5 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001229/1.063, allocations: 181.8 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.703e-05/1.063, allocations: 176.3 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/1.063, allocations: 388 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.548e-05/1.063, allocations: 102.8 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/1.063, allocations: 109 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/1.064, allocations: 180.2 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.064, allocations: 183.8 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001107/1.064, allocations: 176.3 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000104/1.064, allocations: 185.1 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/1.064, allocations: 305.7 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.064, allocations: 190 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.064, allocations: 178.7 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/1.065, allocations: 101 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.065, allocations: 180.2 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.364e-05/1.065, allocations: 115.6 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.05e-05/1.065, allocations: 79.27 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.51e-07/1.065, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006328/1.066, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 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 () * 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.0006977/1.066, allocations: 0.8088 MB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.638e-05/1.066, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/1.066, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-06/1.066, allocations: 4 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/1.067, allocations: 0.5249 MB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/1.068, allocations: 149 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/1.068, allocations: 0.6729 MB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.609e-06/1.068, allocations: 0 / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/1.068, allocations: 7.438 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of SimCode: time 3.637e-06/1.068, allocations: 4 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/1.102, allocations: 418.7 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/1.102, allocations: 156.7 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/3.37, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)