Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001087/0.001087, allocations: 180.8 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009266/0.0009267, allocations: 91.19 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.965e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8054, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/1.025, allocations: 137.7 MB / 1.108 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.025, allocations: 71.95 kB / 1.108 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001813/1.027, allocations: 0.6212 MB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.206e-06/1.027, allocations: 0 / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.027, allocations: 0.75 kB / 1.109 GB, free: 11.7 MB / 0.7136 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.0003983/1.027, allocations: 333.7 kB / 1.109 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.028, allocations: 8.031 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/1.028, allocations: 6.812 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/1.028, allocations: 174.9 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/1.028, allocations: 0.5312 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/1.028, allocations: 0.5 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.7e-05/1.028, allocations: 8 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.298e-05/1.028, allocations: 42.08 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/1.028, allocations: 0.875 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/1.028, allocations: 0 / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.028, allocations: 1.062 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/1.028, allocations: 234.4 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.21e-05/1.028, allocations: 23.45 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/1.028, allocations: 8.922 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/1.028, allocations: 0.6875 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/1.028, allocations: 35.72 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.028, allocations: 0 / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/1.029, allocations: 46.41 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.029, allocations: 52.28 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/1.029, allocations: 94.41 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/1.029, allocations: 26.42 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/1.029, allocations: 80.98 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/1.029, allocations: 3.906 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/1.029, allocations: 0 / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.029, allocations: 323.5 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/1.029, allocations: 0.5312 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/1.029, allocations: 9.312 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.279e-05/1.029, allocations: 7.953 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.029, allocations: 1.469 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.16e-05/1.029, allocations: 37.89 kB / 1.11 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.029, allocations: 8 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.029, allocations: 0 / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.029, allocations: 0.5312 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.029, allocations: 19.09 kB / 1.11 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/1.029, allocations: 5.812 kB / 1.11 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/1.029, allocations: 7.984 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/1.029, allocations: 4 kB / 1.11 GB, free: 9.957 MB / 0.7136 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 6.683e-05/1.029, allocations: 107.6 kB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.595e-05/1.03, allocations: 41.61 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/1.03, allocations: 4 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/1.03, allocations: 7.734 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.03, allocations: 1.25 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.03, allocations: 2.953 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.03, allocations: 0 / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/1.03, allocations: 139.1 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.03, allocations: 0 / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/1.03, allocations: 12.98 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/1.03, allocations: 4 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/1.03, allocations: 2.562 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.03, allocations: 2.438 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.03, allocations: 0 / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/1.03, allocations: 139.6 kB / 1.111 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/1.03, allocations: 85.14 kB / 1.111 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/1.03, allocations: 0 / 1.111 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/1.03, allocations: 7.281 kB / 1.111 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/1.03, allocations: 11.98 kB / 1.111 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/1.03, allocations: 0 / 1.111 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.669e-05/1.03, allocations: 79.28 kB / 1.111 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/1.03, allocations: 0 / 1.111 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002056/1.031, allocations: 8 kB / 1.111 GB, free: 9.242 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.0004113/1.031, allocations: 0.6837 MB / 1.111 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.632e-05/1.031, allocations: 8 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.031, allocations: 0 / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/1.031, allocations: 12 kB / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/1.031, allocations: 9.547 kB / 1.111 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/1.032, allocations: 96.16 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/1.032, allocations: 0.6768 MB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.407e-05/1.032, allocations: 0 / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/1.032, allocations: 11.44 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/1.032, allocations: 0 / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/1.051, allocations: 0.7052 MB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/1.052, allocations: 145.6 kB / 1.113 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.562, allocations: 0 / 1.113 GB, free: 6.805 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)