Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00138/0.00138, allocations: 187 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 86.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 12.62 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2938, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.4681, allocations: 131.7 MB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4684, allocations: 75.95 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004145/0.4725, allocations: 1.631 MB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4726, allocations: 224 / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.4726, allocations: 0 / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005375/0.4731, allocations: 446.8 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4732, allocations: 8.031 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.4732, allocations: 46.55 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.4733, allocations: 15.81 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.4735, allocations: 217.8 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4735, allocations: 12 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.4736, allocations: 12 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.4739, allocations: 149.6 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4739, allocations: 0 / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.4739, allocations: 8 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4739, allocations: 4 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.4743, allocations: 139.9 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.4751, allocations: 0.5234 MB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.4753, allocations: 90.55 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.4753, allocations: 0 / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4754, allocations: 34.75 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.001e-06/0.4754, allocations: 3.938 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004932/0.4759, allocations: 169.4 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.4759, allocations: 63.33 kB / 1.032 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.4761, allocations: 171.5 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4761, allocations: 25.7 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.4762, allocations: 123.9 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.4763, allocations: 31.55 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.4763, allocations: 0 / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4764, allocations: 330.8 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.4765, allocations: 43.97 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.4766, allocations: 43.98 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.4768, allocations: 51.97 kB / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4768, allocations: 384 / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003024/0.4771, allocations: 157.5 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4771, allocations: 4 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4771, allocations: 0 / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4771, allocations: 7.875 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4773, allocations: 35.91 kB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4773, allocations: 0 / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.4774, allocations: 19.84 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.4774, allocations: 8 kB / 1.033 GB, free: 6.992 MB / 0.6823 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 (13): * Single equations (assignments): 13 * 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.805e-05/0.4775, allocations: 126.5 kB / 1.033 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.4776, allocations: 15.81 kB / 1.033 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.4779, allocations: 150.9 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4779, allocations: 4 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.478, allocations: 0 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.478, allocations: 0 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.4785, allocations: 476.8 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4786, allocations: 0 / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.4787, allocations: 23.98 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4787, allocations: 0 / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4787, allocations: 4 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4787, allocations: 4 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4787, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.4791, allocations: 299.6 kB / 1.034 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.4792, allocations: 96.95 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.4792, allocations: 0 / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4793, allocations: 19.98 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.4794, allocations: 15.98 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4794, allocations: 4 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001135/0.4795, allocations: 144.3 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4795, allocations: 0 / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002354/0.4798, allocations: 27.91 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007027/0.4805, allocations: 1.028 MB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.4808, allocations: 107.9 kB / 1.036 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4808, allocations: 0 / 1.036 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.4809, allocations: 52.05 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.4812, allocations: 28 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4828, allocations: 0.8693 MB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.4831, allocations: 0.72 MB / 1.037 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.098e-05/0.4832, allocations: 13.08 kB / 1.037 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.4833, allocations: 39.42 kB / 1.037 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/0.4833, allocations: 0 / 1.037 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.4985, allocations: 2.442 MB / 1.04 GB, free: 204 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000319/0.4989, allocations: 192.8 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.068, allocations: 0 / 1.04 GB, free: 15.96 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1)