Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Product,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.377/2.377, 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.001548/0.001547, allocations: 184.8 kB / 360.6 MB, free: 7.281 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.071/2.071, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001108/0.001108, allocations: 90.62 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.955e-05/4.953e-05, allocations: 8 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8971/0.8972, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2715/1.169, allocations: 136.6 MB / 1.097 GB, free: 3.887 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003901/1.169, allocations: 64.47 kB / 1.097 GB, free: 3.824 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004991/1.174, allocations: 0.8022 MB / 1.098 GB, free: 3.043 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.216e-06/1.174, allocations: 0 / 1.098 GB, free: 3.043 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.105e-05/1.174, allocations: 0.5312 kB / 1.098 GB, free: 3.043 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008227/1.175, allocations: 363.9 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.72e-05/1.175, allocations: 8.031 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/1.175, allocations: 13.7 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/1.176, allocations: 167.7 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/1.176, allocations: 4 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/1.176, allocations: 0.8125 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001684/1.176, allocations: 16 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/1.176, allocations: 44.75 kB / 1.098 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/1.176, allocations: 2.734 kB / 1.098 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.176, allocations: 4.594 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/1.176, allocations: 4.562 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/1.177, allocations: 288.6 kB / 1.099 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/1.177, allocations: 31.27 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/1.177, allocations: 13.95 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/1.177, allocations: 4 kB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.178, allocations: 31.06 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 4.198e-06/1.178, allocations: 2.312 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000291/1.178, allocations: 45.78 kB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/1.178, allocations: 55.41 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/1.178, allocations: 104.9 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/1.178, allocations: 25.7 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/1.178, allocations: 85.02 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/1.178, allocations: 11.81 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/1.178, allocations: 1.688 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.179, allocations: 318.8 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/1.179, allocations: 12 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/1.179, allocations: 11.59 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/1.179, allocations: 4 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.179, allocations: 0 / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002154/1.179, allocations: 49.69 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/1.179, allocations: 8 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.179, allocations: 0 / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/1.179, allocations: 0 / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/1.18, allocations: 26.95 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.18, allocations: 1.484 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/1.18, allocations: 18.2 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/1.18, allocations: 0 / 1.099 GB, free: 1.141 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 (3): * Single equations (assignments): 3 * 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.0001576/1.18, allocations: 108.9 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002578/1.18, allocations: 61.59 kB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/1.18, allocations: 0 / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/1.18, allocations: 4.344 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.181, allocations: 4 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.181, allocations: 3.5 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/1.181, allocations: 3.984 kB / 1.1 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/1.181, allocations: 146.2 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.181, allocations: 4 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/1.181, allocations: 19.98 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/1.181, allocations: 0 / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/1.181, allocations: 4 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.181, allocations: 0 / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.181, allocations: 2.156 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/1.182, allocations: 151.3 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/1.182, allocations: 82.38 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/1.182, allocations: 0 / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/1.182, allocations: 23.97 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/1.182, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/1.182, allocations: 8 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of sorting global known variables: time 9.06e-05/1.182, allocations: 83.27 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.012e-06/1.182, allocations: 0 / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004994/1.183, allocations: 11.94 kB / 1.1 GB, free: 360 kB / 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 (3): * Single equations (assignments): 3 * 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.0007623/1.184, allocations: 0.6914 MB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000189/1.184, allocations: 19.94 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.184, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.993e-05/1.184, allocations: 16 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/1.184, allocations: 6.578 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/1.185, allocations: 107.9 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/1.186, allocations: 0.6846 MB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.492e-05/1.186, allocations: 1.828 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/1.186, allocations: 19.19 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of SimCode: time 1.363e-06/1.186, allocations: 0 / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/1.22, allocations: 0.9504 MB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003459/1.22, allocations: 152.3 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/3.415, allocations: 6.844 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)