Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false)
Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 195.9 kB / 16.54 MB, free: 6.672 MB / 14.72 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.3 MB / 0.5489 GB, free: 12.77 MB / 462.1 MB
Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 75.75 kB / 0.6716 GB, free: 26.09 MB / 0.5294 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2494, allocations: 114.5 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002031/0.2515, allocations: 0.5962 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB
Notification: Performance of NFInst.instExpressions: time 4.088e-05/0.2516, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.2516, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.2516, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 2.175e-05/0.2517, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB
Notification: Performance of NFTyping.typeClassSections: time 2.712e-05/0.2517, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB
Notification: Performance of NFFlatten.flatten: time 4.398e-05/0.2518, allocations: 4 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.2518, allocations: 4 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.381e-05/0.2518, allocations: 0 / 0.7841 GB, free: 12.72 MB / 0.6075 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.598e-05/0.2518, allocations: 0 / 0.7841 GB, free: 12.72 MB / 0.6075 GB
Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.2519, allocations: 0 / 0.7841 GB, free: 12.72 MB / 0.6075 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.2519, allocations: 4 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB
Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.2519, allocations: 7.938 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB
Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.2519, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB
Notification: Performance of NFConvertDAE.convert: time 5.347e-05/0.252, allocations: 3.984 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB
Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.252, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB
Notification: Performance of FrontEnd: time 1.433e-06/0.252, allocations: 3.938 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB
Notification: Performance of Transformations before backend: time 4.458e-06/0.252, allocations: 3.938 kB / 0.7841 GB, free: 12.7 MB / 0.6075 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.0002824/0.2523, allocations: 311.6 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB
Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2523, allocations: 8.031 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.2524, allocations: 38.75 kB / 0.7845 GB, free: 12.29 MB / 0.6075 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 1.681e-05/0.2524, allocations: 0.9375 kB / 0.7845 GB, free: 12.29 MB / 0.6075 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2525, allocations: 164.4 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2525, allocations: 384 / 0.7846 GB, free: 12.09 MB / 0.6075 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-06/0.2525, allocations: 384 / 0.7846 GB, free: 12.09 MB / 0.6075 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.2526, allocations: 30.27 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2526, allocations: 7.938 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.2526, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2527, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.2527, allocations: 3.938 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.253, allocations: 383.4 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.342e-05/0.2531, allocations: 169.1 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.2531, allocations: 92.11 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.2531, allocations: 79.31 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.2532, allocations: 109.8 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB
Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2532, allocations: 3.938 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=0): time 6.4e-05/0.2533, allocations: 25.7 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.2533, allocations: 126.7 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.2534, allocations: 101.8 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB
Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2534, allocations: 25.7 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB
Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.2535, allocations: 84.14 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB
Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.2535, allocations: 0 / 0.7858 GB, free: 10.75 MB / 0.6075 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.2535, allocations: 13.72 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB
Notification: Performance of setup shared object (initialization): time 0.0001022/0.2536, allocations: 310.8 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-06/0.2536, allocations: 0 / 0.7861 GB, free: 10.42 MB / 0.6075 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.2536, allocations: 0 / 0.7861 GB, free: 10.42 MB / 0.6075 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.2537, allocations: 79.41 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.428e-05/0.2537, allocations: 79.22 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.547e-05/0.2537, allocations: 33.64 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB
Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.2538, allocations: 83.27 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/0.2538, allocations: 75.28 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (initialization): time 6.33e-05/0.2539, allocations: 158.5 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.799e-05/0.2539, allocations: 75.28 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.553e-05/0.254, allocations: 158.6 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.191e-05/0.2541, allocations: 79.22 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.2541, allocations: 79.28 kB / 0.787 GB, free: 9.527 MB / 0.6075 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 0.0001039/0.2542, allocations: 261.3 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.2543, allocations: 108.9 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.2544, allocations: 117.2 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/0.2544, allocations: 184.2 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-05/0.2545, allocations: 180.2 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.193e-05/0.2546, allocations: 176.3 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.2548, allocations: 417.1 kB / 0.7883 GB, free: 8.008 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/0.2548, allocations: 105 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.2549, allocations: 105 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.759e-05/0.255, allocations: 184.2 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.255, allocations: 180.3 kB / 0.7889 GB, free: 7.418 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.601e-05/0.2551, allocations: 180.5 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.394e-05/0.2552, allocations: 180.2 kB / 0.7892 GB, free: 7.051 MB / 0.6075 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.2554, allocations: 319.7 kB / 0.7895 GB, free: 6.715 MB / 0.6075 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.2554, allocations: 178.1 kB / 0.7897 GB, free: 6.516 MB / 0.6075 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.2555, allocations: 184.2 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.2556, allocations: 105 kB / 0.79 GB, free: 6.219 MB / 0.6075 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.2557, allocations: 188.2 kB / 0.7902 GB, free: 6.027 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.2557, allocations: 101 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB
Notification: Performance of sorting global known variables: time 3.653e-05/0.2558, allocations: 79.28 kB / 0.7903 GB, free: 5.844 MB / 0.6075 GB
Notification: Performance of sort global known variables: time 1e-07/0.2558, allocations: 0 / 0.7903 GB, free: 5.844 MB / 0.6075 GB
Notification: Performance of remove unused functions: time 0.0002806/0.256, allocations: 0 / 0.7903 GB, free: 5.844 MB / 0.6075 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.0004663/0.2565, allocations: 0.8166 MB / 0.7911 GB, free: 4.996 MB / 0.6075 GB
Notification: Performance of simCode: created initialization part: time 3.27e-05/0.2566, allocations: 0 / 0.7911 GB, free: 4.996 MB / 0.6075 GB
Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2566, allocations: 0 / 0.7911 GB, free: 4.996 MB / 0.6075 GB
Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.2566, allocations: 0 / 0.7911 GB, free: 4.996 MB / 0.6075 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.2569, allocations: 468.6 kB / 0.7916 GB, free: 4.535 MB / 0.6075 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.258, allocations: 1.532 MB / 0.7931 GB, free: 2.926 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.2582, allocations: 0.6729 MB / 0.7937 GB, free: 2.227 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 5.801e-06/0.2582, allocations: 0 / 0.7937 GB, free: 2.227 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.2582, allocations: 7.438 kB / 0.7937 GB, free: 2.219 MB / 0.6075 GB
Notification: Performance of SimCode: time 4.6e-07/0.2582, allocations: 0 / 0.7937 GB, free: 2.219 MB / 0.6075 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.2732, allocations: 0.9087 MB / 0.7946 GB, free: 1.406 MB / 0.6075 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.443/7.716, allocations: 11.8 kB / 0.7946 GB, free: 1.395 MB / 0.6075 GB
(rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & python3 -m fmpy simulate  --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)