Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.55/2.55, allocations: 287.5 MB / 303.2 MB, free: 8.156 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.001346/0.001346, allocations: 177.6 kB / 371.8 MB, free: 10.84 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.271/2.271, allocations: 205.4 MB / 0.6305 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008746/0.0008744, allocations: 89.3 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004862, allocations: 22.86 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2089, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9439/1.153, allocations: 138.8 MB / 1.115 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/1.153, allocations: 75.91 kB / 1.115 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02532/1.179, allocations: 6.431 MB / 1.121 GB, free: 31.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.906e-06/1.179, allocations: 0 / 1.121 GB, free: 31.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.123e-05/1.179, allocations: 11.81 kB / 1.121 GB, free: 31.09 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001823/1.18, allocations: 0.6974 MB / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.181, allocations: 11.56 kB / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/1.181, allocations: 51.47 kB / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/1.182, allocations: 367.9 kB / 1.122 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/1.182, allocations: 28.94 kB / 1.122 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/1.182, allocations: 38.25 kB / 1.122 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/1.183, allocations: 409.7 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.183, allocations: 3.938 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/1.183, allocations: 14.84 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/1.183, allocations: 7.562 kB / 1.123 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009027/1.184, allocations: 292.9 kB / 1.123 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/1.187, allocations: 1.291 MB / 1.124 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.188, allocations: 304.6 kB / 1.125 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/1.188, allocations: 136 kB / 1.125 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/1.189, allocations: 0 / 1.125 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005257/1.189, allocations: 186.4 kB / 1.125 GB, free: 29.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/1.189, allocations: 0 / 1.125 GB, free: 29.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001276/1.19, allocations: 379.6 kB / 1.125 GB, free: 29.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.191, allocations: 136.4 kB / 1.125 GB, free: 29.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/1.191, allocations: 396.2 kB / 1.126 GB, free: 29.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.088e-05/1.191, allocations: 40.02 kB / 1.126 GB, free: 29.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/1.192, allocations: 232.1 kB / 1.126 GB, free: 29.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/1.192, allocations: 80.03 kB / 1.126 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/1.192, allocations: 10.09 kB / 1.126 GB, free: 29.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.192, allocations: 353.1 kB / 1.126 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/1.192, allocations: 109.1 kB / 1.127 GB, free: 28.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/1.193, allocations: 190.7 kB / 1.127 GB, free: 28.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/1.193, allocations: 261.3 kB / 1.127 GB, free: 28.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.193, allocations: 3.938 kB / 1.127 GB, free: 28.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001063/1.195, allocations: 350 kB / 1.127 GB, free: 28.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.764e-05/1.195, allocations: 131 kB / 1.127 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.195, allocations: 0 / 1.127 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.195, allocations: 7.781 kB / 1.127 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/1.195, allocations: 65.56 kB / 1.128 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.195, allocations: 6.797 kB / 1.128 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/1.196, allocations: 58.31 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/1.196, allocations: 7.688 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.196, allocations: 3.875 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005543/1.196, allocations: 228.3 kB / 1.128 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.196, allocations: 3.938 kB / 1.128 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/1.196, allocations: 3.875 kB / 1.128 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/1.197, allocations: 51.47 kB / 1.128 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.197, allocations: 0 / 1.128 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/1.197, allocations: 44.36 kB / 1.128 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/1.197, allocations: 7.688 kB / 1.128 GB, free: 28.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0003749/1.198, allocations: 246 kB / 1.128 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/1.198, allocations: 35 kB / 1.128 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/1.198, allocations: 44.89 kB / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.198, allocations: 3.875 kB / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.198, allocations: 4 kB / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.198, allocations: 3.141 kB / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/1.2, allocations: 0.9559 MB / 1.129 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.2, allocations: 3.906 kB / 1.129 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/1.201, allocations: 53.67 kB / 1.129 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/1.201, allocations: 6.562 kB / 1.129 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/1.201, allocations: 10.98 kB / 1.129 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/1.201, allocations: 4.125 kB / 1.129 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.201, allocations: 7.812 kB / 1.129 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/1.202, allocations: 0.6316 MB / 1.13 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/1.202, allocations: 125.7 kB / 1.13 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/1.202, allocations: 7.781 kB / 1.13 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/1.203, allocations: 28.77 kB / 1.13 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/1.203, allocations: 23.91 kB / 1.13 GB, free: 27.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/1.203, allocations: 14.69 kB / 1.13 GB, free: 27.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000507/1.203, allocations: 284.6 kB / 1.13 GB, free: 27.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.12e-07/1.203, allocations: 0 / 1.13 GB, free: 27.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008413/1.204, allocations: 125.1 kB / 1.13 GB, free: 26.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0002386/1.204, allocations: 120.6 kB / 1.131 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.206, allocations: 387 kB / 1.131 GB, free: 26.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.206, allocations: 3.938 kB / 1.131 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003794/1.206, allocations: 117.7 kB / 1.131 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.207, allocations: 79.52 kB / 1.131 GB, free: 26.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/1.209, allocations: 0.8571 MB / 1.132 GB, free: 26.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/1.21, allocations: 0.8058 MB / 1.133 GB, free: 25.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004474/1.21, allocations: 43.33 kB / 1.133 GB, free: 25.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/1.211, allocations: 39.91 kB / 1.133 GB, free: 25.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.924e-06/1.211, allocations: 0 / 1.133 GB, free: 25.61 MB / 0.698 GB Notification: Performance of Templates: time 0.01158/1.222, allocations: 3.194 MB / 1.136 GB, free: 24.99 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)