Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.408/2.408, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001347/0.001347, allocations: 184.8 kB / 326.3 MB, free: 2.848 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.414/2.414, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009266/0.0009263, allocations: 92.67 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004957, allocations: 18.28 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2355, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.9439/1.179, allocations: 165.9 MB / 1.062 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02037/1.2, allocations: 8.5 MB / 1.07 GB, free: 4.191 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/1.202, allocations: 35.69 kB / 1.07 GB, free: 4.188 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/1.204, allocations: 311.2 kB / 1.07 GB, free: 4.184 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005476/1.209, allocations: 1.192 MB / 1.071 GB, free: 4.137 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007751/1.217, allocations: 1.605 MB / 1.073 GB, free: 4.082 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005819/1.223, allocations: 2.773 MB / 1.076 GB, free: 4.074 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/1.225, allocations: 0.8214 MB / 1.076 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/1.229, allocations: 0.9879 MB / 1.077 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003229/1.233, allocations: 1.011 MB / 1.078 GB, free: 3.996 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008559/1.233, allocations: 71.62 kB / 1.078 GB, free: 3.996 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005322/1.239, allocations: 1.271 MB / 1.08 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001678/1.241, allocations: 0.6519 MB / 1.08 GB, free: 3.973 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/1.242, allocations: 313 kB / 1.081 GB, free: 19.94 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005094/1.247, allocations: 2.131 MB / 1.083 GB, free: 19.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.247, allocations: 2.906 kB / 1.083 GB, free: 19.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.078e-06/1.247, allocations: 1.094 kB / 1.083 GB, free: 19.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.51e-05/1.247, allocations: 0 / 1.083 GB, free: 19.77 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.01054/1.258, allocations: 2.267 MB / 1.085 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.258, allocations: 12.8 kB / 1.085 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/1.262, allocations: 458.4 kB / 1.085 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005896/1.268, allocations: 1.978 MB / 1.087 GB, free: 18.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/1.268, allocations: 68.34 kB / 1.087 GB, free: 18.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/1.269, allocations: 93.62 kB / 1.087 GB, free: 18.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/1.272, allocations: 1.272 MB / 1.089 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/1.272, allocations: 2.906 kB / 1.089 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.273, allocations: 24.78 kB / 1.089 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/1.273, allocations: 17.25 kB / 1.089 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/1.277, allocations: 1.47 MB / 1.09 GB, free: 17.89 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/1.291, allocations: 5.232 MB / 1.095 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00566/1.297, allocations: 1.311 MB / 1.097 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/1.299, allocations: 0.6642 MB / 1.097 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008978/1.3, allocations: 453.5 kB / 1.098 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.3, allocations: 40.42 kB / 1.098 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 4.809e-06/1.3, allocations: 2.906 kB / 1.098 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.0112/1.312, allocations: 2.317 MB / 1.1 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/1.312, allocations: 58.31 kB / 1.1 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008801/1.32, allocations: 3.076 MB / 1.103 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004087/1.321, allocations: 54.56 kB / 1.103 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008969/1.322, allocations: 0.6965 MB / 1.104 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/1.322, allocations: 195.4 kB / 1.104 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/1.322, allocations: 18.97 kB / 1.104 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002291/1.322, allocations: 380 kB / 1.104 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004117/1.327, allocations: 2.012 MB / 1.106 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/1.331, allocations: 2.477 MB / 1.109 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/1.337, allocations: 2.139 MB / 1.111 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/1.337, allocations: 1.594 kB / 1.111 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01036/1.347, allocations: 4.662 MB / 1.115 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000196/1.347, allocations: 258.5 kB / 1.116 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/1.347, allocations: 5.188 kB / 1.116 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/1.348, allocations: 156.1 kB / 1.116 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/1.351, allocations: 280.2 kB / 1.116 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/1.353, allocations: 1.227 MB / 1.117 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/1.357, allocations: 362.3 kB / 1.118 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003954/1.358, allocations: 54.05 kB / 1.118 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.358, allocations: 2.938 kB / 1.118 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008876/1.367, allocations: 4.436 MB / 1.122 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.342e-05/1.367, allocations: 9.312 kB / 1.122 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.367, allocations: 12.53 kB / 1.122 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/1.369, allocations: 267.4 kB / 1.122 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/1.369, allocations: 17.83 kB / 1.122 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/1.373, allocations: 290.1 kB / 1.123 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.373, allocations: 58.5 kB / 1.123 GB, free: 11.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 113 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001243/1.375, allocations: 0.5 MB / 1.123 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006548/1.375, allocations: 167 kB / 1.123 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005419/1.381, allocations: 1.7 MB / 1.125 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.381, allocations: 3.984 kB / 1.125 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.381, allocations: 0 / 1.125 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.382, allocations: 451 kB / 1.125 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/1.383, allocations: 9.75 kB / 1.125 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/1.385, allocations: 112.9 kB / 1.125 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/1.386, allocations: 42.31 kB / 1.125 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005861/1.391, allocations: 1.62 MB / 1.127 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007982/1.399, allocations: 2.622 MB / 1.13 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002248/1.402, allocations: 0.6655 MB / 1.13 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.006363/1.408, allocations: 2.192 MB / 1.132 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of Backend: time 9.92e-07/1.408, allocations: 0 / 1.132 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0154/1.424, allocations: 5.636 MB / 1.138 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of SimCode: time 0.01174/1.435, allocations: 3.718 MB / 1.142 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of Templates: time 0.1084/1.544, allocations: 37.2 MB / 1.178 GB, free: 12.67 MB / 0.7605 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)