Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 104.5 kB / 16.93 MB, free: 5.797 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.002099/0.002099, allocations: 191.3 kB / 17.87 MB, free: 5.152 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.359/1.359, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7523/0.7523, allocations: 122.9 MB / 414.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001515, allocations: 60.14 kB / 0.4917 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4015, allocations: 77.93 MB / 0.5678 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.ClosedLoop_y): time 0.5939/0.9955, allocations: 206 MB / 0.769 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02092/1.016, allocations: 15.37 MB / 0.784 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/1.02, allocations: 58.69 kB / 0.7841 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01068/1.03, allocations: 5.663 MB / 0.7896 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007471/1.038, allocations: 2.585 MB / 0.7921 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004392/1.042, allocations: 1.581 MB / 0.7937 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01243/1.055, allocations: 9.044 MB / 0.8025 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/1.057, allocations: 1.387 MB / 0.8039 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005019/1.062, allocations: 2.007 MB / 0.8058 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/1.065, allocations: 1.207 MB / 0.807 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004246/1.066, allocations: 168 kB / 0.8072 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005841/1.072, allocations: 2.709 MB / 0.8098 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008973/1.073, allocations: 0.7288 MB / 0.8105 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/1.074, allocations: 1.068 MB / 0.8116 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00785/1.082, allocations: 3.881 MB / 0.8154 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.082, allocations: 2.75 kB / 0.8154 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/1.082, allocations: 64 / 0.8154 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 4.646e-05/1.082, allocations: 64 / 0.8154 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005251/1.087, allocations: 2.539 MB / 0.8178 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.088, allocations: 9.438 kB / 0.8179 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003935/1.091, allocations: 0.6188 MB / 0.8185 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/1.096, allocations: 2.128 MB / 0.8205 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.641e-05/1.096, allocations: 79.53 kB / 0.8206 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/1.096, allocations: 120.5 kB / 0.8207 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/1.098, allocations: 1.3 MB / 0.822 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.098, allocations: 0 / 0.822 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/1.098, allocations: 40.31 kB / 0.822 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/1.098, allocations: 36.31 kB / 0.8221 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/1.101, allocations: 1.023 MB / 0.8231 GB, free: 12.66 MB / 0.5919 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.007816/1.108, allocations: 5.567 MB / 0.8285 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/1.111, allocations: 0.9422 MB / 0.8294 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009816/1.112, allocations: 491.1 kB / 0.8299 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/1.112, allocations: 109.8 kB / 0.83 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/1.113, allocations: 0.585 MB / 0.8306 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=68): time 4.257e-06/1.113, allocations: 0 / 0.8306 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68): time 0.004079/1.117, allocations: 1.475 MB / 0.832 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/1.117, allocations: 55.97 kB / 0.8321 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/1.121, allocations: 1.705 MB / 0.8337 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/1.121, allocations: 45.7 kB / 0.8338 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008751/1.122, allocations: 0.7778 MB / 0.8345 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/1.122, allocations: 239.3 kB / 0.8348 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005279/1.122, allocations: 294.2 kB / 0.835 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.123, allocations: 361.9 kB / 0.8354 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/1.124, allocations: 0.7641 MB / 0.8361 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/1.126, allocations: 1.042 MB / 0.8371 GB, free: 252 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/1.129, allocations: 1.71 MB / 0.8388 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.129, allocations: 3.938 kB / 0.8388 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004089/1.133, allocations: 2.135 MB / 0.8409 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/1.133, allocations: 37.69 kB / 0.8409 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.133, allocations: 4 kB / 0.8409 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/1.133, allocations: 156.2 kB / 0.8411 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.135, allocations: 268.4 kB / 0.8413 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/1.136, allocations: 1.242 MB / 0.8426 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.137, allocations: 147.2 kB / 0.8427 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/1.137, allocations: 60.05 kB / 0.8428 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002082/1.14, allocations: 1.074 MB / 0.8438 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001478/1.141, allocations: 0.9407 MB / 0.8447 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002493/1.144, allocations: 1.51 MB / 0.8462 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.291e-06/1.144, allocations: 0 / 0.8462 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.0038/1.147, allocations: 1.936 MB / 0.8481 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/1.147, allocations: 37.69 kB / 0.8481 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.147, allocations: 4 kB / 0.8481 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/1.148, allocations: 180.3 kB / 0.8483 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009885/1.149, allocations: 244.4 kB / 0.8485 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005303/1.154, allocations: 3.398 MB / 0.8519 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.156, allocations: 119.7 kB / 0.852 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/1.156, allocations: 55.98 kB / 0.852 GB, free: 0.6055 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004461/1.157, allocations: 248.7 kB / 0.8523 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005096/1.157, allocations: 165.8 kB / 0.8524 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/1.16, allocations: 1.116 MB / 0.8535 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.16, allocations: 4 kB / 0.8535 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.16, allocations: 4 kB / 0.8535 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002238/1.163, allocations: 0.9814 MB / 0.8545 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005878/1.168, allocations: 2.538 MB / 0.857 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.169, allocations: 0 / 0.857 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009279/1.169, allocations: 170 kB / 0.8571 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/1.17, allocations: 92.92 kB / 0.8572 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.967e-05/1.17, allocations: 24.08 kB / 0.8572 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008307/1.171, allocations: 1.216 MB / 0.8584 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.171, allocations: 3.188 kB / 0.8584 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/1.174, allocations: 1.659 MB / 0.86 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008754/1.175, allocations: 330.8 kB / 0.8604 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/1.176, allocations: 23.22 kB / 0.8604 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.177, allocations: 59.84 kB / 0.8604 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.177, allocations: 48.5 kB / 0.8605 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/1.177, allocations: 31.98 kB / 0.8605 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002391/1.18, allocations: 1.147 MB / 0.8616 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/1.18, allocations: 0 / 0.8616 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003764/1.183, allocations: 0.9614 MB / 0.8626 GB, free: 5.648 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/1.185, allocations: 0.5737 MB / 0.8631 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005806/1.191, allocations: 2.629 MB / 0.8657 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.191, allocations: 0 / 0.8657 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/1.192, allocations: 476.6 kB / 0.8661 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004627/1.197, allocations: 0.8649 MB / 0.867 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00685/1.204, allocations: 3.3 MB / 0.8702 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/1.205, allocations: 1.434 MB / 0.8716 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006468/1.206, allocations: 143.4 kB / 0.8718 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of SimCode: time 8.91e-07/1.206, allocations: 0 / 0.8718 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.06616/1.272, allocations: 46.08 MB / 0.9168 GB, free: 14.45 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)