Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 119 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 183.9 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.82/2.82, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 59.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.2446/1.337, allocations: 184.1 MB / 1.347 GB, free: 11.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01927/1.356, allocations: 10.42 MB / 1.357 GB, free: 0.582 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/1.358, allocations: 35.75 kB / 1.357 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/1.36, allocations: 468.7 kB / 1.358 GB, free: 88 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005556/1.366, allocations: 1.367 MB / 1.359 GB, free: 14.71 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006802/1.373, allocations: 1.784 MB / 1.361 GB, free: 12.95 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005624/1.378, allocations: 2.602 MB / 1.363 GB, free: 10.34 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/1.382, allocations: 1.128 MB / 1.364 GB, free: 9.191 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004191/1.386, allocations: 1.296 MB / 1.366 GB, free: 7.891 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/1.389, allocations: 1.261 MB / 1.367 GB, free: 6.625 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/1.39, allocations: 168 kB / 1.367 GB, free: 6.461 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004744/1.394, allocations: 1.567 MB / 1.369 GB, free: 4.891 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/1.396, allocations: 0.5803 MB / 1.369 GB, free: 4.309 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002071/1.398, allocations: 0.8396 MB / 1.37 GB, free: 3.465 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005876/1.404, allocations: 2.684 MB / 1.373 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.404, allocations: 0 / 1.373 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.693e-06/1.404, allocations: 0 / 1.373 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001026/1.404, allocations: 7.938 kB / 1.373 GB, free: 0.7656 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.008809/1.413, allocations: 2.236 MB / 1.375 GB, free: 14.47 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/1.413, allocations: 8.922 kB / 1.375 GB, free: 14.46 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/1.415, allocations: 225.9 kB / 1.375 GB, free: 14.24 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/1.418, allocations: 1.426 MB / 1.376 GB, free: 12.76 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/1.418, allocations: 62 kB / 1.377 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/1.418, allocations: 87.94 kB / 1.377 GB, free: 12.61 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/1.42, allocations: 1.002 MB / 1.378 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/1.42, allocations: 7.938 kB / 1.378 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/1.42, allocations: 28 kB / 1.378 GB, free: 11.52 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/1.42, allocations: 16 kB / 1.378 GB, free: 11.5 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/1.422, allocations: 0.891 MB / 1.379 GB, free: 10.61 MB / 1.107 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.007782/1.43, allocations: 4.78 MB / 1.383 GB, free: 5.602 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/1.432, allocations: 0.7579 MB / 1.384 GB, free: 4.84 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008785/1.433, allocations: 419 kB / 1.384 GB, free: 4.426 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/1.433, allocations: 275.7 kB / 1.385 GB, free: 4.102 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.433, allocations: 46.98 kB / 1.385 GB, free: 4.047 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 2.756e-06/1.433, allocations: 0 / 1.385 GB, free: 4.047 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.006067/1.439, allocations: 1.573 MB / 1.386 GB, free: 2.449 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/1.439, allocations: 55.84 kB / 1.386 GB, free: 2.383 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/1.442, allocations: 1.844 MB / 1.388 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002337/1.443, allocations: 37.7 kB / 1.388 GB, free: 496 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000589/1.443, allocations: 0.5757 MB / 1.389 GB, free: 15.9 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/1.443, allocations: 185.3 kB / 1.389 GB, free: 15.71 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004589/1.444, allocations: 210.5 kB / 1.389 GB, free: 15.5 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.444, allocations: 349.9 kB / 1.389 GB, free: 15.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/1.446, allocations: 0.965 MB / 1.39 GB, free: 14.19 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/1.448, allocations: 1.291 MB / 1.392 GB, free: 12.76 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/1.451, allocations: 1.519 MB / 1.393 GB, free: 11.18 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/1.451, allocations: 4 kB / 1.393 GB, free: 11.18 MB / 1.123 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004772/1.456, allocations: 2.169 MB / 1.395 GB, free: 8.992 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.456, allocations: 8 kB / 1.395 GB, free: 8.984 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.456, allocations: 8.031 kB / 1.395 GB, free: 8.977 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009437/1.457, allocations: 144.7 kB / 1.395 GB, free: 8.832 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.458, allocations: 179.7 kB / 1.395 GB, free: 8.656 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/1.459, allocations: 1.318 MB / 1.397 GB, free: 7.289 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.461, allocations: 194.6 kB / 1.397 GB, free: 7.098 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.461, allocations: 35.98 kB / 1.397 GB, free: 7.062 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0024/1.464, allocations: 1.185 MB / 1.398 GB, free: 5.871 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002166/1.466, allocations: 1.287 MB / 1.399 GB, free: 4.449 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002636/1.468, allocations: 1.5 MB / 1.401 GB, free: 2.887 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/1.468, allocations: 11.92 kB / 1.401 GB, free: 2.875 MB / 1.123 GB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.004615/1.473, allocations: 2.098 MB / 1.403 GB, free: 0.7734 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.473, allocations: 8 kB / 1.403 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.473, allocations: 8 kB / 1.403 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.473, allocations: 8 kB / 1.403 GB, free: 0.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.474, allocations: 175.8 kB / 1.403 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/1.474, allocations: 15.92 kB / 1.403 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/1.477, allocations: 187.7 kB / 1.403 GB, free: 384 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/1.477, allocations: 43.92 kB / 1.403 GB, free: 340 kB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[13],damPreInd.idx_sorted[12],damPreInd.idx_sorted[11],damPreInd.idx_sorted[10],damPreInd.idx_sorted[9],damPreInd.idx_sorted[8],damPreInd.idx_sorted[7],damPreInd.idx_sorted[6],damPreInd.idx_sorted[5],damPreInd.idx_sorted[4],damPreInd.idx_sorted[3],damPreInd.idx_sorted[2],damPreInd.idx_sorted[1],conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004776/1.477, allocations: 236.1 kB / 1.404 GB, free: 96 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/1.478, allocations: 130.4 kB / 1.404 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/1.48, allocations: 1.013 MB / 1.405 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.48, allocations: 3.984 kB / 1.405 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.48, allocations: 0 / 1.405 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/1.481, allocations: 319 kB / 1.405 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/1.481, allocations: 12 kB / 1.405 GB, free: 14.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.482, allocations: 67.91 kB / 1.405 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.482, allocations: 36.5 kB / 1.405 GB, free: 14.48 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002984/1.485, allocations: 1.062 MB / 1.406 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003321/1.489, allocations: 1.587 MB / 1.408 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000825/1.489, allocations: 384.2 kB / 1.408 GB, free: 11.43 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00225/1.492, allocations: 1.309 MB / 1.409 GB, free: 10.12 MB / 1.139 GB Notification: Performance of Backend: time 3.31e-07/1.492, allocations: 0 / 1.409 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007563/1.499, allocations: 2.823 MB / 1.412 GB, free: 7.289 MB / 1.139 GB Notification: Performance of SimCode: time 0.005659/1.505, allocations: 2.777 MB / 1.415 GB, free: 4.469 MB / 1.139 GB Notification: Performance of Templates: time 0.07317/1.578, allocations: 37.03 MB / 1.451 GB, free: 15.68 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)