Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Validation.Sin,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",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.472/2.472, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001498/0.001497, allocations: 188.8 kB / 360.6 MB, free: 7.27 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.095/2.095, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.00111/0.001109, allocations: 89.27 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.165e-05, allocations: 8 kB / 0.8509 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8563, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/1.145, allocations: 136.7 MB / 1.097 GB, free: 3.734 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.145, allocations: 66.28 kB / 1.097 GB, free: 3.672 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002374/1.147, allocations: 0.6646 MB / 1.098 GB, free: 3.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/1.148, allocations: 0.5625 kB / 1.098 GB, free: 3.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.148, allocations: 0 / 1.098 GB, free: 3.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004743/1.148, allocations: 335.2 kB / 1.098 GB, free: 2.656 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.148, allocations: 12.03 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/1.148, allocations: 1.734 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/1.148, allocations: 166.9 kB / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/1.148, allocations: 4.594 kB / 1.098 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/1.148, allocations: 4.719 kB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.888e-05/1.148, allocations: 8 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.578e-05/1.149, allocations: 34.88 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.149, allocations: 4 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/1.149, allocations: 2.734 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.149, allocations: 0.8438 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/1.149, allocations: 233.8 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.887e-05/1.149, allocations: 27.14 kB / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/1.149, allocations: 9.766 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/1.149, allocations: 0 / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/1.149, allocations: 35.28 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.149, allocations: 0.625 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/1.149, allocations: 38.23 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/1.149, allocations: 55.97 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/1.15, allocations: 93.75 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/1.15, allocations: 26.23 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/1.15, allocations: 80.83 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/1.15, allocations: 11.89 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.15, allocations: 0.5625 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.15, allocations: 321.1 kB / 1.099 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/1.15, allocations: 0 / 1.099 GB, free: 1.379 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/1.15, allocations: 8.719 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/1.15, allocations: 8.625 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.15, allocations: 0 / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.741e-05/1.15, allocations: 38.55 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.15, allocations: 10.33 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/1.15, allocations: 0.6875 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.15, allocations: 4 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/1.15, allocations: 10.56 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/1.15, allocations: 3.938 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.805e-05/1.15, allocations: 7.984 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/1.15, allocations: 6.344 kB / 1.099 GB, free: 1.285 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 (2): * Single equations (assignments): 2 * 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 8.176e-05/1.15, allocations: 109.8 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001109/1.151, allocations: 54.02 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/1.151, allocations: 5.75 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/1.151, allocations: 45.44 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.151, allocations: 0 / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.151, allocations: 0 / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.151, allocations: 3.125 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/1.151, allocations: 138.2 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.151, allocations: 0 / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/1.151, allocations: 11.98 kB / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.151, allocations: 0 / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/1.151, allocations: 0 / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/1.151, allocations: 4 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.151, allocations: 0.875 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/1.151, allocations: 142.3 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/1.151, allocations: 77.11 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/1.151, allocations: 5.5 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/1.152, allocations: 7.984 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/1.152, allocations: 7.875 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/1.152, allocations: 8 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.934e-05/1.152, allocations: 75.28 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.152, allocations: 0 / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002864/1.152, allocations: 7.906 kB / 1.1 GB, free: 0.5234 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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.0005476/1.153, allocations: 0.6761 MB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001101/1.153, allocations: 15.94 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.153, allocations: 0 / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/1.153, allocations: 8 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/1.153, allocations: 0 / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/1.154, allocations: 97.3 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/1.154, allocations: 0.6807 MB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.95e-05/1.154, allocations: 4.125 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/1.154, allocations: 7.438 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of SimCode: time 1.292e-06/1.154, allocations: 0 / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/1.185, allocations: 0.6894 MB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/1.185, allocations: 140.8 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.545, allocations: 0.75 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)