Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.842/1.842, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.00148/0.00148, allocations: 176.9 kB / 361.4 MB, free: 6.816 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.076/2.076, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.001006/0.001006, allocations: 101 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.702e-05, allocations: 8 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9728/0.9728, allocations: 115.3 MB / 0.9645 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2672/1.24, allocations: 136.7 MB / 1.098 GB, free: 2.988 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/1.24, allocations: 67.52 kB / 1.098 GB, free: 2.926 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001956/1.242, allocations: 0.5965 MB / 1.099 GB, free: 2.344 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/1.242, allocations: 0.6875 kB / 1.099 GB, free: 2.344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.625e-06/1.243, allocations: 4 kB / 1.099 GB, free: 2.34 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.0004187/1.243, allocations: 335.1 kB / 1.099 GB, free: 1.977 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.243, allocations: 8.031 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/1.243, allocations: 10.12 kB / 1.099 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.243, allocations: 175 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/1.243, allocations: 1.594 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/1.243, allocations: 4.75 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.774e-05/1.243, allocations: 6.953 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.984e-05/1.243, allocations: 34.2 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.243, allocations: 5.406 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/1.243, allocations: 0 / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/1.244, allocations: 4 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/1.244, allocations: 249 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/1.244, allocations: 23.2 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/1.244, allocations: 9.453 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/1.244, allocations: 0.5 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.244, allocations: 36.84 kB / 1.1 GB, free: 1.332 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.244, allocations: 0 / 1.1 GB, free: 1.332 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001733/1.244, allocations: 37.64 kB / 1.1 GB, free: 1.289 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.244, allocations: 63.98 kB / 1.1 GB, free: 1.215 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/1.244, allocations: 89 kB / 1.1 GB, free: 1.121 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/1.245, allocations: 26.2 kB / 1.1 GB, free: 1.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/1.245, allocations: 92.67 kB / 1.1 GB, free: 1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/1.245, allocations: 3.906 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/1.245, allocations: 4.969 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.245, allocations: 310.8 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/1.245, allocations: 4.844 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/1.245, allocations: 7.984 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/1.245, allocations: 13.11 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.245, allocations: 0 / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.001e-05/1.245, allocations: 34.27 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/1.245, allocations: 9.406 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.245, allocations: 0 / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/1.245, allocations: 4.672 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.245, allocations: 16.64 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.245, allocations: 0 / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.342e-05/1.245, allocations: 21.02 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/1.245, allocations: 0.5625 kB / 1.1 GB, free: 0.5742 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 7.784e-05/1.245, allocations: 105.8 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.98e-05/1.245, allocations: 38.89 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/1.245, allocations: 4 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/1.246, allocations: 3.75 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/1.246, allocations: 5.094 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.246, allocations: 2.531 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.246, allocations: 7.984 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/1.246, allocations: 138.2 kB / 1.101 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.246, allocations: 0 / 1.101 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/1.246, allocations: 16.14 kB / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.246, allocations: 0 / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/1.246, allocations: 0 / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.246, allocations: 0 / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.246, allocations: 0 / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/1.246, allocations: 139.5 kB / 1.101 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/1.246, allocations: 85 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/1.246, allocations: 4.031 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/1.246, allocations: 8 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/1.246, allocations: 3.984 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/1.246, allocations: 0 / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.343e-05/1.246, allocations: 83.28 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/1.246, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003264/1.247, allocations: 5.312 kB / 1.101 GB, free: 15.86 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 (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.00052/1.247, allocations: 0.681 MB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000104/1.247, allocations: 16 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.247, allocations: 2.688 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/1.247, allocations: 4 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/1.248, allocations: 4.156 kB / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/1.248, allocations: 92 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/1.249, allocations: 0.6768 MB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.511e-05/1.249, allocations: 4 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/1.249, allocations: 11.42 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/1.249, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/1.273, allocations: 0.7193 MB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/1.274, allocations: 153.6 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.945, allocations: 4.5 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.pipe 2>&1)